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 <goblincod...@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.san...@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@qt-project.org >> http://lists.qt-project.org/mailman/listinfo/interest >> >> >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest