Is there a way to disable menu items, but still have them displayed?

For example, I have the following operations:

open
export
close
quit

'export' and 'close' should not be enabled if a file is not open, and
'open' should not be enabled if a file is open.

In MS Windows, you can display disabled menu items; they are visible
(in a different style; "greyed out") but the user cannot select them.
The user can see they are on the menu in that location, so they know
to come back there if they later need that operation.

In Qt, apparently the only way to achieve this is to remove the
disabled items from the menu, possibly in the aboutToShow signal
handler. This makes the application's menu system harder to learn.

Am I missing something?

-- 
-- Stephe

_______________________________________________
qtada-users mailing list
[email protected]
http://lists.qtada.com/mailman/listinfo/qtada-users_lists.qtada.com

Reply via email to