[Qt-interest] QToolBox item toggeled

OSProg osprog at gmail.com
Sat Jan 24 20:25:07 CET 2009


Hi,

I'm trying to toggle the item, i.e. when the item is clicked once - the 
item is activated, when the item is clicked for the second time - the 
item is deactivated.
I have an idea to catch mousePressEvent, but it is not available when 
the mouse is over the item. Is there a way to catch this event?
Is there any more elegant way to toggle the item activation on mouse click?
Is there a way at startup to show the QToolBox with all items inactive?

Best regards,
Nikolay



More information about the Qt-interest-old mailing list