修改文件换行符,修正轮班图元长度计算问题

This commit is contained in:
2026-08-19 11:55:10 +08:00
parent 176b53b654
commit a274b75705
116 changed files with 68711 additions and 68660 deletions
+6
View File
@@ -5,6 +5,7 @@
#include <QTime>
#include <QString>
#include <QTimer>
#include <QSize>
struct ScheduleModel
{
@@ -45,6 +46,11 @@ private:
QVector<ScheduleModel> m_schedules;
QTimer m_updateTimer;
QString m_currScheduleName;
QSize m_maxSize; // 缓存最长名称的像素宽高
virtual QRectF boundingRect() const override;
QSize calcMaxSize();
};
#endif // PICSCHEDULESHIFTITEM_H