[Interest] Darker disabled icon state

Etienne Sandré-Chardonnal etienne.sandre at m4x.org
Tue Jan 28 10:19:22 CET 2014


Hi William,

I am using widgets. I'm not sure there is a way to darken disabled icons
with QSS, and without destroying other styling (such as native tool
buttons), but if you know one, please let me know!

Cheers,

Etienne


2014-01-27 William Hallatt <goblincoding at gmail.com>

> You can also change the appearance of widgets (not sure if you're using
> widgets or QML...and I know nothing about QML) with stylesheets:
>
> http://qt-project.org/doc/qt-5.0/qtwidgets/stylesheet.html
>
> http://qt-project.org/doc/qt-5.0/qtwidgets/stylesheet-reference.html
>
>
>
>
> On 26 January 2014 23:41, Etienne Sandré-Chardonnal <
> etienne.sandre at m4x.org> wrote:
>
>> Dear all,
>>
>> I have a nice "dark" theme in my app now, except that disabled icons
>> appear too bright. I would like to make them darker automatically (without
>> setting a dark disabled state image manually for all icons).
>>
>> Is writing a QIconEngine subclass the only choice here?
>> >From the docs, the only explained way to add a custom QIconEngine is by
>> creating a QIconEnginePlugin. Is it possible to have it inside the app
>> executable and not as an external library plugin?
>>
>> Thanks,
>>
>> Etienne
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140128/48629051/attachment.html>


More information about the Interest mailing list