移除souce属性
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user