Qt的QCalendarWidget使用,日历控件使用

咱们先定义三个成员变量和两个槽函数:函数 QCalendarWidget *calendarWidget; QLineEdit *calendarlineEdit; QLabel *calendarlabel; private slots: void showTimeSlot(); void setDataSlot(); 在构造函数中加入以下代码:this //实例
相关文章
相关标签/搜索