[Qt-interest] Can I raise 2 toolbar icons at the same time?

Bob Babcock wssddc at nospam.gis.net
Wed May 26 06:46:25 CEST 2010


I would like to have a pair of toolbar buttons with the following 
properties:

1. The first button triggers a simple action, say print.
2. The second button pulls down a menu of related actions, say print 
preview, page setup,...
3. When the mouse cursor is over either button, both icons raise up.
4. When both icons are raised, a vertical divider line makes it clear that 
there are two buttons.

It's number 3 (and maybe 4) that I don't know how to do.  Any suggestions?
An example of this in a non-Qt program is the print icon in Internet 
Explorer 8.



More information about the Qt-interest-old mailing list