[Qt-interest] Qt 4.6.1 - no tooltips in menu bar QAction
Constantin Makshin
cmakshin at gmail.com
Thu Apr 1 19:00:07 CEST 2010
1) "Increase font size" is the action's text/title, not a tooltip;
2) menu items can't show tooltips.
On Thu, 01 Apr 2010 19:43:00 +0400, Stephen Collyer
<scollyer at netspinner.co.uk> wrote:
> Qt 4.6.1, Opensuse 11.1
>
> I'm creating a QAction like so:
>
> increase_font_size_action_ = new QAction(QIcon(":/icons/Plus.png"),
> "Increase font size", this);
> menuBar()->addAction(increase_font_size_action_);
>
> which I put in the menuBar() for a QApplication. I'm expecting this
> to display the tooltip "Increase font size" but it never appears.
>
> Is this a bug ?
--
Constantin Makshin
More information about the Qt-interest-old
mailing list