更新文档

This commit is contained in:
feiyangqingyun
2023-12-06 19:16:34 +08:00
parent e7120ffb24
commit 123a5b4bed
35 changed files with 290 additions and 207 deletions

View File

@@ -61,7 +61,7 @@ void LunarCalendarItem::mousePressEvent(QMouseEvent *)
pressed = true;
this->update();
emit clicked(date, dayType);
Q_EMIT clicked(date, dayType);
}
void LunarCalendarItem::mouseReleaseEvent(QMouseEvent *)

View File

@@ -412,9 +412,9 @@ void LunarCalendarWidget::dayChanged(const QDate &date)
}
//发送日期单击信号
emit clicked(date);
Q_EMIT clicked(date);
//发送日期更新信号
emit selectionChanged();
Q_EMIT selectionChanged();
}
void LunarCalendarWidget::dateChanged(int year, int month, int day)