移除souce属性

This commit is contained in:
2026-09-10 09:20:45 +08:00
parent 5f96e8d592
commit e9d601a3e8
13 changed files with 36 additions and 131 deletions
-14
View File
@@ -14,20 +14,6 @@ PicScheduleShiftItem::PicScheduleShiftItem(QGraphicsItem *parent, QGraphicsScene
// m_updateTimer.start();
}
QVariant PicScheduleShiftItem::source()
{
return QVariant();
}
void PicScheduleShiftItem::setSource(QVariant var)
{
// 重新计算基于当前字体的最大名称像素宽度
m_maxSize = calcMaxSize();
m_currScheduleName = findScheduleName(QTime::currentTime());
applyModify();
}
const QVector<ScheduleModel>& PicScheduleShiftItem::schedules() const
{
return m_schedules;