[Interest] Darker disabled icon state

André Somers andre at familiesomers.nl
Tue Jan 28 12:34:06 CET 2014


Etienne Sandré-Chardonnal schreef op 28-1-2014 10:56:
> Thanks André,
>
> Do I still need to create a plugin in a separate .pro file or is there 
> a way to create the class and register it from the main app .pro?
>
I _think_ you'd still need to build it as a separate library, from a 
separate .pro file.

André

> Cheers,
>
> Etienne
>
>
> 2014-01-28 André Somers <andre at familiesomers.nl 
> <mailto:andre at familiesomers.nl>>
>
>     Etienne Sandré-Chardonnal schreef op 26-1-2014 22:41:
>     > 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?
>     I think it is the logical choice to make, yes. Do take care to use V2
>     though. It has an extended API compared to QIconEngine.
>
>     > >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?
>     You can make plugins static, so that should be possible:
>     http://qt-project.org/doc/qt-4.8/plugins-howto.html#static-plugins
>
>     André
>
>     _______________________________________________
>     Interest mailing list
>     Interest at qt-project.org <mailto: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/1843a190/attachment.html>


More information about the Interest mailing list