[Qt-interest] Same QAction, but QMenu action with no icon?

Constantin Makshin cmakshin at gmail.com
Mon Mar 29 23:27:00 CEST 2010


http://qt.nokia.com/doc/4.6/qaction.html#iconVisibleInMenu-prop

On Tue, 30 Mar 2010 01:03:03 +0400, Kārlis Repsons <k at 11.lv> wrote:
> Suppose there is a QAction A, which has an associated QIcon. When A gets  
> added to QMenu, that icon appears there. The problem is: it's a toggle  
> and there is both a check box and that icon. How can icon be removed  
> from menu, but left for toolbar, which uses A?

-- 
Constantin Makshin



More information about the Qt-interest-old mailing list