[Qt-interest] how to display as a pushbutton that, when pressed, will display a pop-up calendar?

Konrad Rosenbaum konrad at silmor.de
Fri Jan 16 10:04:03 CET 2009


On Friday 16 January 2009, chandrasekar wagmare wrote:
> Hi friends,

Hello friend.

>         Please any one help me how to display a widget (just like a popup
> calender) as a pushButton that when pressed, will disply a pop up
> calender or any thing ... i just need like this format to add to my
> taskbar ..

You might want to read up on:

*QPushButton, esp. SIGNAL(clicked())
*QCalendarWidget, plus:
 -QWidget::windowFlags
 -QCursor::pos() and QWidget::pos/move()

If by "taskbar" you mean that nice little bar at the bottom of your Windows 
or KDE screen that is always there to launch and access applications and 
that has this nifty clock in the right corner, then you might also want to 
read up on QSystemTrayIcon.

On the other hand you might also want to go through the Qt Tutorial and some 
of the demos and examples first.



	Konrad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090116/954f623e/attachment.bin 


More information about the Qt-interest-old mailing list