抽离printsettings前的暂存
This commit is contained in:
+7
-1
@@ -39,6 +39,8 @@ typedef struct ItemReplaceInfo
|
||||
#define SOURCE_COUNTER1 "Counter1_QvQ"
|
||||
#define SOURCE_COUNTER2 "Counter2_QvQ"
|
||||
|
||||
class PrintSetting;
|
||||
|
||||
class TestPrintWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -67,6 +69,8 @@ public:
|
||||
|
||||
void on_delButton_pressed();
|
||||
|
||||
void setPrintSettingWidget(PrintSetting* wid);
|
||||
|
||||
void addDateTimeItem(const DateItemModel& model, const TextItemModel& textModel);
|
||||
|
||||
void addScheduleShiftsItem(QVector<ScheduleModel> schedules, TextItemModel txtModel);
|
||||
@@ -136,7 +140,7 @@ private:
|
||||
QTextEdit* m_TextEdit = nullptr;
|
||||
QLineEdit* m_LineEdit;
|
||||
|
||||
void parseVbfile(QXmlStreamReader &reader);
|
||||
void parseVbfile(QXmlStreamReader &reader, bool loadPrintSetting = false);
|
||||
|
||||
/**
|
||||
* @brief 对 on_KeyUp_clicked 等按键事件的简便包装
|
||||
@@ -160,6 +164,8 @@ private:
|
||||
// 修改条形码和二维码的标志
|
||||
bool editCodeFlag = false;
|
||||
|
||||
PrintSetting* m_printSetting = nullptr;
|
||||
|
||||
QString xmlfileName;
|
||||
DialogSaveFile *dialogSaveFile;
|
||||
DialogFileOperation *dialogFileOperation;
|
||||
|
||||
Reference in New Issue
Block a user