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

Chandru... sekarwagmare at gmail.com
Thu Jul 16 11:50:39 CEST 2009


take a look on

Qt Style Sheets Examples

Customizing the QPushButton's Menu Indicator Sub-Control


On Thu, Jul 16, 2009 at 2:54 PM, Oliver Demetz <
forenbeitraege at oliverdemetz.de> wrote:

> 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
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
WAGMARE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090716/2db8ad04/attachment.html 


More information about the Qt-interest-old mailing list