2 QDateEdit with 1 QCalendarWidget ?
Hi,
is it possible for two QDateEdit to share the same QCalendarWidget ? For example is it possible to do the following:
Code:
CalendarWidget *calendarWidget = new CalendarWidget;
dateEdit1->setCalendarWidget(calendarWidget);
dateEdit2->setCalendarWidget(calendarWidget);
and is it working like I expect ?
Re: 2 QDateEdit with 1 QCalendarWidget ?
Quote:
Originally Posted by
ouekah
and is it working like I expect ?
Did you try it?
Re: 2 QDateEdit with 1 QCalendarWidget ?
Well I wish I could but I'm still stuck with a previous issue:
http://www.qtcentre.org/threads/3014...Widget-clicked
Re: 2 QDateEdit with 1 QCalendarWidget ?
Quote:
Originally Posted by
ouekah
Come on, it is not fair to ask questions about things you havent tried. Also you should first solve you current problems befor moving on.
Re: 2 QDateEdit with 1 QCalendarWidget ?
Quote:
is it possible for two QDateEdit to share the same QCalendarWidget ?
The answer is: no.