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

Chandru... sekarwagmare at gmail.com
Thu Jul 16 11:51:22 CEST 2009


override the image to none.png
On Thu, Jul 16, 2009 at 3:20 PM, Chandru... <sekarwagmare at gmail.com> wrote:

> 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
>
>
>


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


More information about the Qt-interest-old mailing list