fix(Tray): 托盘传感器显示修改

This commit is contained in:
lidg
2026-11-09 18:16:54 +08:00
parent a8b2b31ce7
commit c248954b87
14 changed files with 170 additions and 51 deletions
+3 -1
View File
@@ -9,7 +9,8 @@ public:
explicit SquareTrayButton(int trayIndex, int loadedCount, QWidget *parent = nullptr);
void setTrayInfo(int trayId, const QString &code, int loadedCount,
const QString &status, bool present);
const QString &status, bool databasePresent,
bool sensorPresent);
void setPlanned(bool planned);
QSize sizeHint() const override;
@@ -21,6 +22,7 @@ protected:
private:
int m_trayId;
bool m_planned;
bool m_sensorPresent;
};
#endif // SQUARETRAYBUTTON_H