PDA

View Full Version : no icons in menu



maverick_pol
14th May 2009, 20:34
Hi,

I have a set of actions with icons assigned to them. I would like to show that actions in the toolbars and menus(in menubar) at the same time. I do not want to display icons in the menus? I know you can hide icons/text in toolbars, but how to achieve it in menus?

THanks.

wysota
14th May 2009, 21:09
There is probably some hint in QStyle API you can change by creating a style proxy but you have to peek into QMenu source code to see how the drawing there is done.