[Interest] QMenu: remove icons

Sensei senseiwa at gmail.com
Wed Mar 20 11:46:26 CET 2013


Dear all,

it should be easy, but I didn't find any way to do this. How do I remove 
icons in a QMenu?

More precisely: I add QActions to a menu, and each QAction has an icon. 
On OSX the standard is NOT to display icons in menus, but only in toolbars.

The only way I've found is stupid and cumbersome: create two sets of 
QActions, one for the menu, one for the toolbar.


Is there a neat way?



Thanks & Cheers!



More information about the Interest mailing list