• 3963阅读
  • 1回复

[提问]求助,如何将PushButton放进到TimeEdit中 [复制链接]

上一主题 下一主题
 

只看楼主 正序阅读 楼主  发表于: 2013-09-06

各位大神求助,如何将PushButton放进到TimeEdit中,点击按钮后出现一个下拉时间编辑框。谢了
离线bingyifeng

只看该作者 1楼 发表于: 2013-09-06
回 楼主(画面定格drl) 的帖子
void QDateTimeEdit::setCalendarWidget(QCalendarWidget * calendarWidget)
Sets the given calendarWidget as the widget to be used for the calendar pop-up. The editor does not automatically take ownership of the calendar widget.

Note: calendarPopup must be set to true before setting the calendar widget.

This function was introduced in QtWidgets 4.4.

See also calendarWidget() and calendarPopup.
<span style="color:blue ">淘宝,绿石斋</span> <a href="http://shop33295817.taobao.com“> <span style="color:blue ">各种水晶饰品,手链,项链 </span></a>
快速回复
限100 字节
 
上一个 下一个