[Qt-interest] How to set textcolor for actions in QMenu?
Arnold Krille
arnold at arnoldarts.de
Mon May 9 12:44:05 CEST 2011
Hi,
> I suppose this is a very simple question, but how do I set the textcolor
> of the actions in a QMenu to different colors: say the first show be
> black (normal), the next red, etc.
Oh yes, please find a way to do that! That way it will fit perfectly to my
standard-theme of black background with red highlight-background!
Not.
There is a reason for standards. There is a reason for themes. There is a
reason your apps menus look the same as the ones from
dolphin/konqueror/marble/whatever on your platform. Actually there are several
reasons, accessibility is one of them, the fact that an app is less usable
when it looks different then the others is another.
Forget about changing the menu-colors, be glad Qt makes menus so easy to use
and just go on with programming the important parts of your app.
Have fun,
Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110509/f2d424a8/attachment.bin
More information about the Qt-interest-old
mailing list