[Qt-interest] How to hide a QPushButtons menu indicator

Oliver Demetz forenbeitraege at oliverdemetz.de
Thu Jul 16 11:24:20 CEST 2009


Hi all,
I already posed this question a week ago,
but unfortunately got no reply.

I've got a QPushButton with associated menu:

   QPushButton b ("Foobar");
   b.setMenu(new QMenu());

As soon as I set the menu, besides the button's
text, this *menu indicator is shown*.

*How can I hide this menu indicator?*

I read the docs about stylesheets up and down,
but nothing worked.

Thanks in advance,
Oliver



More information about the Qt-interest-old mailing list