[Interest] Darker disabled icon state

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


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?

Cheers,

Etienne


2014-01-28 André Somers <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
> 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/23033f36/attachment.html>


More information about the Interest mailing list