[Qt-interest] How to set textcolor for actions in QMenu?
Arnold Krille
arnold at arnoldarts.de
Tue May 10 22:01:16 CEST 2011
Hi,
On Tuesday 10 May 2011 16:41:21 Atlant Schmidt wrote:
> Folks:
> > While this is a case often found with tabs
> > (like in chat-clients, terminal-applications,
> > even browsers) its rather uncommon that a
> > menu-item needs non-permanent attention.
> (I refrained from posting yesterday, but I can't
> resist today.)
> I can think of at least two instances where a menu
> item might want non-permanent attention:
> 1. Your application implements some sort of
> "Guide me" help and it's trying to draw your
> attention to the menu item that will fulfill
> your stated need. For example, you've asked
> for help on applying the "foobar" property
> and the help system is now trying to draw
> your attention to the menu item entitled
> "Properties>".
I do think this is better handled by either a screencast and/or by some
process moving the mouse for you and hover it on the menu-item in question.
which has the side-effect of highlighting in system-colors.
> 2. Your application really really wants to call
> your attention to a menu item that you really
> ought to invoke. For example, the reactor's
> melting down and you really ought to invoke
> the "Add emergency cooling water" menu item.*
> * Obviously, I'm joking to a certain extent here. The
> stated situation probably requires a pop-up, but there
> are probably intermediate cases that don't. Perhaps
> it's merely been too long since you last saved your
> file and the system thinks it would be a good idea
> (but not an urgent idea) that you save the file now.
How many times do you look into the "File"-menu where the red and blinking
save-entry is, when you are busy with formating/editing etc.
A far better indicator for something like this is a little star in the
titlebar, sometimes even combined with a small disk. And an additional disk in
the statusbar. And a not-grayed-out button in the toolbar.
There is really no point in highlighting menu-items, whether they are "File"-
>"Save" or "Edit"->"Options"->"Network"->"Presence Indicator"...
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/20110510/22d68194/attachment.bin
More information about the Qt-interest-old
mailing list