更新文档
This commit is contained in:
@@ -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 *)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user