[Qt-interest] how to create a pop up window
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Mon Jan 12 16:36:22 CET 2009
chandrasekar wagmare wrote on Monday, January 12, 2009 4:06 PM:
> Hi friends,
> I want to design a window in which at the very end
> bottom corner a button should be there .. if the
> user clicks it toggles showing a pop up window over the space on top
> of the button ...
Is this what you are looking for: http://doc.trolltech.com/4.4/qpushbutton.html#setMenu
By default the menu appears below the button, but maybe you could set the proper QStyle for that button so that the menu appears below (or to the left/right).
Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
More information about the Qt-interest-old
mailing list