PDA

View Full Version : Customize the menubar and menus



tonnot
16th February 2011, 13:35
Is there a method to customize colors, fonts, etc for the menubar, menus, separators etc ?

Thanks

agarny
16th February 2011, 13:44
I have never tried on this, but what about using style sheets?

tonnot
16th February 2011, 13:51
Yes, you are right
I did not think about it ...
But I'd want to do something at code level.??? Any example ?
Thanks

agarny
16th February 2011, 13:58
How do you mean at the code level? You can always use QWidget::setStyle(QStyle * style), no?

tonnot
16th February 2011, 14:09
Yes... you are right
Thanks