50 lines
987 B
C
50 lines
987 B
C
|
|
#ifndef KNIFEGAPPARADIALOG_H
|
|||
|
|
#define KNIFEGAPPARADIALOG_H
|
|||
|
|
|
|||
|
|
#include <QDialog>
|
|||
|
|
#include <QStandardItemModel>
|
|||
|
|
#include "setcontrolstyle.h"
|
|||
|
|
#include "machine/comm/datadef.h"
|
|||
|
|
#include "main.h"
|
|||
|
|
|
|||
|
|
namespace Ui {
|
|||
|
|
class KnifeGapParaDialog;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
class KnifeGapParaDialog : public QDialog
|
|||
|
|
{
|
|||
|
|
Q_OBJECT
|
|||
|
|
|
|||
|
|
public:
|
|||
|
|
explicit KnifeGapParaDialog(QWidget *parent = 0);
|
|||
|
|
~KnifeGapParaDialog();
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
Ui::KnifeGapParaDialog *ui;
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
KnifeGapPara m_knifeGapData;
|
|||
|
|
QStandardItemModel *m_pModel;
|
|||
|
|
int m_column;
|
|||
|
|
int m_row;
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
void initWidget();
|
|||
|
|
void initControl();
|
|||
|
|
void initResolution();
|
|||
|
|
void initControlStyle();//初始化窗体控件样式
|
|||
|
|
|
|||
|
|
public:
|
|||
|
|
void setTypeLogo(QString tStyle);//设置类型图标
|
|||
|
|
void setMainTitle(QString str);//设置主title
|
|||
|
|
void setSubTitle(QString str);//设置副title
|
|||
|
|
|
|||
|
|
public slots:
|
|||
|
|
void recvData(int type, int id);
|
|||
|
|
|
|||
|
|
private slots:
|
|||
|
|
void on_buttonCancel_clicked();
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
#endif // KNIFEGAPPARADIALOG_H
|