2026年7月16日 缓存
This commit is contained in:
+17
-12
@@ -15,6 +15,7 @@
|
||||
#include <QHBoxLayout>
|
||||
#include <QLabel>
|
||||
#include <QPushButton>
|
||||
#include <QToolButton>
|
||||
#include <QTextEdit>
|
||||
#include <QTime>
|
||||
#include <QMessageBox>
|
||||
@@ -40,7 +41,6 @@ public:
|
||||
|
||||
void bindTxTEdit(QTextEdit* textEdit);
|
||||
void bindPicScene(PicScene* pPicScene);
|
||||
void PreviewPressed();
|
||||
void onPreviewScene();
|
||||
// 260420 hlp:场景为空时,渲染空场景并刷新界面
|
||||
void handleEmptySize();
|
||||
@@ -51,19 +51,15 @@ public:
|
||||
bool startPrintingFlag;
|
||||
|
||||
bool pushButtonFlag;
|
||||
|
||||
int searchQrVar();
|
||||
int searchExpiryVar();//检索有效期变量
|
||||
void ExpiryDotUpdate(char Mode);
|
||||
|
||||
// 单独更新时间类图元 byons@2026年4月11日
|
||||
|
||||
/**
|
||||
* @brief 更新时间类图元到FPGA print 数据
|
||||
* @return true 有时间元素更新,false 无时间元素更新
|
||||
* @return 返回需要更新的区域
|
||||
* @remark 判断返回值用于决定是否SendPrintDataToFpga
|
||||
*/
|
||||
bool dateTimeItemsDotUpdate();
|
||||
QRect variableItemsUpdate();
|
||||
|
||||
/**
|
||||
* @brief 向FPGA print 数据缓冲区写入image
|
||||
@@ -85,6 +81,10 @@ public:
|
||||
// 回收槽关闭按钮状态设置
|
||||
void setReclaimCloseBtnStatus(bool enable);
|
||||
|
||||
void flashReclaimOpenBtn();
|
||||
|
||||
void stopFlashReclaimOpenBtn();
|
||||
|
||||
/**
|
||||
* @brief 设置回收槽开关状态
|
||||
* @param isOpen true:开;false:关
|
||||
@@ -108,7 +108,7 @@ public:
|
||||
|
||||
QTimer *timerShowItem,*timerPowerOff;
|
||||
|
||||
void SendPrintDataToFpga(unsigned char alterMode, bool isUpdate = false);
|
||||
void SendPrintDataToFpga(unsigned char alterMode, int startCols = -1, int size = -1);
|
||||
|
||||
void updatePrintDisplayLabel();
|
||||
|
||||
@@ -137,8 +137,8 @@ private:
|
||||
QPushButton* m_StopBtn;
|
||||
QPushButton* m_StartBtn;
|
||||
QPushButton* m_ToolBtn;
|
||||
QPushButton* m_RightBtn;
|
||||
QPushButton* m_LeftBtn;
|
||||
QToolButton* m_RightBtn;
|
||||
QToolButton* m_LeftBtn;
|
||||
PrintTextDisplay* m_PrintDisplay;
|
||||
|
||||
|
||||
@@ -183,12 +183,15 @@ private:
|
||||
|
||||
void initSheet();
|
||||
|
||||
bool m_reclaimFlashState = false;
|
||||
|
||||
QTimer* m_reclaimOpenBtnFlashTimer = nullptr;
|
||||
|
||||
// 高亮切换
|
||||
void changeHighLight(bool isStart);
|
||||
private slots:
|
||||
void airPushingProcess();
|
||||
void buttonClickedSlot();
|
||||
void ontextEdittextChanged();
|
||||
|
||||
void on_m_RightBtn_clicked();
|
||||
|
||||
@@ -200,6 +203,8 @@ private slots:
|
||||
|
||||
void slt_clearCnt();
|
||||
|
||||
void onReclaimOpenBtnFlashTimerTimeout();
|
||||
|
||||
signals:
|
||||
void sendButtonClickedSignal(int index);
|
||||
void setDisableAll();
|
||||
@@ -212,4 +217,4 @@ signals:
|
||||
void newFileAcquired();
|
||||
};
|
||||
|
||||
#endif // MainWidget_H
|
||||
#endif // MainWidget_H
|
||||
Reference in New Issue
Block a user