First commit
This commit is contained in:
+194
@@ -0,0 +1,194 @@
|
||||
#ifndef PRINTSETTING_H
|
||||
#define PRINTSETTING_H
|
||||
|
||||
#include <QWidget>
|
||||
#include "dialogmodifypasswd.h"
|
||||
#include "DialogAuthorization.h"
|
||||
#include "ParaSettingUI.h"
|
||||
#include "dlginputaddr.h"
|
||||
|
||||
#include "dlgvarlength.h"
|
||||
#include "dialogshowcounter.h"
|
||||
|
||||
#include "TextEditOption.h" // 需要使用文件文本编辑功能
|
||||
#include <QLineEdit>
|
||||
#include <QString>
|
||||
#include <QTableWidget>
|
||||
//#include "mainwindow.h"
|
||||
|
||||
namespace Ui {
|
||||
class PrintSetting;
|
||||
}
|
||||
|
||||
class PicScene;
|
||||
class PicTextItem;
|
||||
|
||||
class PrintSetting : public QWidget,public ParaSettingUI
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit PrintSetting(QWidget *parent = 0);
|
||||
~PrintSetting();
|
||||
|
||||
void updateSysParaToUI(); //重载
|
||||
void applyUIPara(); //重载
|
||||
void updateCnt1GroupsTblWgt();
|
||||
|
||||
void checkCnt1EndValueOnUI();
|
||||
void ApplyCnt1GroupSetting();
|
||||
void updateSysStatusToUI();
|
||||
void updateAuthorization(int auth);
|
||||
void PreviewEdit(); //
|
||||
void bindSysPara(SysPara *sysPara);
|
||||
void LoadCnt1GroupSettingsToUI();
|
||||
void rowWidgetCreate(int rowIndex);
|
||||
|
||||
void moveRow(int currentRow, int toRow);
|
||||
void on_moveUp_clicked();
|
||||
void on_moveDown_clicked();
|
||||
|
||||
void PrintSettingLog();
|
||||
void getFpgaVersionSetDisable();
|
||||
|
||||
DlgInputAddr *dlgInputAddr;
|
||||
bool flagOfSpecailSettng ;
|
||||
bool flagOfEngineeringMode;
|
||||
void SpecailSettingsDisplay();
|
||||
void EngineeringModeDisplay();
|
||||
bool flagOfModuleDecimal;
|
||||
bool flagOfModuleHide;
|
||||
void ModuleDecimalDisplay();
|
||||
void ModuleHideDisplay();
|
||||
void ModuleDecimalHideDisplay(const bool bEnabled);
|
||||
void uiSettingForNo66();
|
||||
void uiSettingForNo67();
|
||||
void uiSettingForNo72();
|
||||
void uiSettingForNo73();
|
||||
void specailMachineSetting(bool);
|
||||
public slots:
|
||||
|
||||
void updateUIForSpecialCondition();
|
||||
|
||||
signals:
|
||||
void HiddenFunction(bool);
|
||||
|
||||
private slots:
|
||||
void on_radioButtonSpecialCondition_clicked(bool checked);
|
||||
void refreshtimerHandler(void);
|
||||
|
||||
void ondialogShowCounterAccepted(void);
|
||||
|
||||
void on_checkVarLenChg();
|
||||
void on_VarLenSet();
|
||||
|
||||
void on_pushButtonRanddomBackUP_pressed();
|
||||
void PrintupdateSysParaToUI();
|
||||
void showVolDacEdit(int auth);
|
||||
void on_pushButtonApply_pressed();
|
||||
void on_checkBoxResetCnt1CurrValue_released();
|
||||
void on_checkBoxResetCnt2CurrValue_released();
|
||||
void on_pushButtonClearRunTime_pressed();
|
||||
void on_pushOnlyCNT1Clear_pressed();
|
||||
void on_pushOnlyCNT2Clear_pressed();
|
||||
|
||||
void ondialogAuthorizationAccepted();
|
||||
void ondialogAuthVarSetAccepted();
|
||||
void on_dialogModPasswdAccepted();
|
||||
|
||||
void on_checkBoxSuspendAfterPhaseFault_clicked();
|
||||
void on_checkBoxPowerOffAfterPhaseFault_clicked();
|
||||
|
||||
void on_pushButtonAuth_pressed();
|
||||
// void on_pushButtonXFileSelect_pressed();
|
||||
|
||||
void on_spinBoxLastLineEndPointFixedValue_valueChanged(int arg1);
|
||||
|
||||
void on_pushButtonRecommendedSetting_clicked();
|
||||
void onUpdateCnt1GroupDisp(bool bChangeToNext);
|
||||
|
||||
void on_Cnt3AddRowBtn_pressed();
|
||||
|
||||
void on_Cnt3RemoveRowBtn_pressed();
|
||||
|
||||
void on_Cnt3InsertRowBtn_pressed();
|
||||
|
||||
void on_checkBoxGroupCnt1_clicked(bool checked);
|
||||
|
||||
void on_cnt3RemoveAllRowsBtn_pressed();
|
||||
|
||||
void on_comboBoxAlterPrintEnable_currentIndexChanged(int index);
|
||||
|
||||
void on_checkVol1of8En_clicked(bool checked);
|
||||
|
||||
void on_checkmode0211_clicked(bool checked);
|
||||
void on_spinBoxExpiryDate_valueChanged(int arg1);
|
||||
|
||||
void on_CBDateFormat1_currentIndexChanged(int index);
|
||||
void showMachInfo(QString);
|
||||
void showRemoteControl(QString SuperNodeIP,QString EdgeIP);
|
||||
|
||||
void on_volButton_clicked();
|
||||
|
||||
void on_spinBoxColDelay_valueChanged(int arg1);
|
||||
|
||||
void on_radioButtonFUllColFIxVal_clicked(bool checked);
|
||||
|
||||
void on_metreCountButton_clicked();
|
||||
|
||||
void on_lockoulsepushButton_clicked();
|
||||
|
||||
void on_spinBoxCnt1EndValue_valueChanged(int arg1);
|
||||
|
||||
void on_pushButtonUpRow_clicked();
|
||||
|
||||
void on_pushButtonDownRow_clicked();
|
||||
|
||||
|
||||
void on_checkBoxResetCnt3CurrValue_released();
|
||||
void on_checkBoxSaveCNTStateValue_released();
|
||||
void on_checkBoxCircleProductCnt_released();
|
||||
|
||||
void on_pushOnlyCNT3Clear_pressed();
|
||||
void setCNT1BackColor(bool flag);
|
||||
void setCNT2BackColor(bool flag);
|
||||
void setCNT3BackColor(bool flag);
|
||||
// void setDisableFontWidth(bool);
|
||||
|
||||
void setDisableFontWidth(bool);
|
||||
private slots:
|
||||
void autoUpdateFontWidth(const unsigned int);
|
||||
|
||||
void on_checkBox_FastMode_clicked();
|
||||
|
||||
void on_checkBox_5Row5Dot_clicked();
|
||||
|
||||
Q_SIGNALS:
|
||||
void authChanged(int auth);
|
||||
void printPriveiw();
|
||||
void change_OutputPulse();
|
||||
void SwitchTimerShowItem(bool flag);
|
||||
private:
|
||||
Ui::PrintSetting *ui;
|
||||
//MainWindow *mainWindow;
|
||||
DialogAuthorization *dialogAuthorization;
|
||||
DialogAuthorization *dialogAuthVarSet;
|
||||
DlgVarLength *dlgvarLen;
|
||||
int auth;
|
||||
|
||||
Dialogmodifypasswd *dialogModPasswd;
|
||||
DialogShowCounter *dialogShowCounter;
|
||||
int modify_vol;
|
||||
int keepVolVal;
|
||||
QTimer *refresh_timer;
|
||||
|
||||
int lockpulse;
|
||||
int area_end;
|
||||
int last_area_end;
|
||||
PicScene* pGetPicScene;
|
||||
|
||||
//当前打印的长度
|
||||
unsigned int current_print_col_num;
|
||||
};
|
||||
|
||||
#endif // PRINTSETTING_H
|
||||
Reference in New Issue
Block a user