View Full Version : How can I add a QCalendarWidget to a QToolBar?

10th April 2009, 18:41
Hi to All,
I'm trying to add a QCalendarWidget to a QToolBar via Qt Designer, I drag and drop the widget but nothing happens. Is there a procedure?:confused:

10th April 2009, 23:06
You can't do that via Designer. You have to use QToolBar::addAction() with QWidgetAction pointing to the calendar. This probably won't look good though. Try QDateEdit with calendarPopup property enabled.