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@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to