2026年5月25日15:57:50

This commit is contained in:
2026-05-25 15:58:11 +08:00
parent 1cb9d5ac42
commit 358a56f602
20 changed files with 413 additions and 492 deletions
+2 -5
View File
@@ -58,6 +58,8 @@ void ScheduleShiftsEditor::setItemModel(QVector<ScheduleModel> schedulesModel, T
m_dataModel = schedulesModel;
applyDataModel();
ui->timeEdit->setTime(QTime(0, 0));
}
TextItemModel ScheduleShiftsEditor::textItemModel()
@@ -70,11 +72,6 @@ const QVector<ScheduleModel>& ScheduleShiftsEditor::scheduleModel() const
return m_dataModel;
}
PicScheduleShiftItem *ScheduleShiftsEditor::currEditItem()
{
return dynamic_cast<PicScheduleShiftItem*>(m_generalSettings->currentItem());
}
void ScheduleShiftsEditor::onBtnCloseClicked()
{
emit rejected();