修复开机没有墨水也进自检的问题;为状态label添加长文本滚动逻辑
This commit is contained in:
+18
-4
@@ -187,6 +187,11 @@ public slots:
|
||||
void onLabelFaultRusumePressed();
|
||||
|
||||
void UpdateUIVersion();
|
||||
|
||||
void on_m_RightBtn_clicked();
|
||||
|
||||
void on_m_LeftBtn_clicked();
|
||||
|
||||
private:
|
||||
void init();
|
||||
// void SendPrintDataToFpga(unsigned char);
|
||||
@@ -194,20 +199,27 @@ private:
|
||||
|
||||
void initSheet();
|
||||
|
||||
void updateNozzleStateMarquee(const QString& str);
|
||||
void stopNozzleStateMarquee();
|
||||
bool eventFilter(QObject *watched, QEvent *event) override;
|
||||
|
||||
bool m_reclaimFlashState = false;
|
||||
|
||||
QTimer* m_reclaimOpenBtnFlashTimer = nullptr;
|
||||
|
||||
QTimer* m_nozzleStateMarqueeTimer = nullptr;
|
||||
QString m_nozzleStateFullText;
|
||||
int m_nozzleStateMarqueeOffsetPx = 0;
|
||||
int m_nozzleStateMarqueeTextWidth = 0;
|
||||
int m_nozzleStateMarqueeGapPx = 0;
|
||||
bool m_nozzleStateMarqueeEnabled = false;
|
||||
|
||||
// 高亮切换
|
||||
void changeHighLight(bool isStart);
|
||||
private slots:
|
||||
void airPushingProcess();
|
||||
void buttonClickedSlot();
|
||||
|
||||
void on_m_RightBtn_clicked();
|
||||
|
||||
void on_m_LeftBtn_clicked();
|
||||
|
||||
void on_m_ManageBtn_clicked();
|
||||
|
||||
void slt_setNum();
|
||||
@@ -216,6 +228,8 @@ private slots:
|
||||
|
||||
void onReclaimOpenBtnFlashTimerTimeout();
|
||||
|
||||
void onNozzleStateMarqueeTimeout();
|
||||
|
||||
signals:
|
||||
void sendButtonClickedSignal(int index);
|
||||
void setDisableAll();
|
||||
|
||||
Reference in New Issue
Block a user