Qt 6.11 is out! See what's new in the release
blog
How to update QIcon on palette change?
-
How can I change QIcons already set on QPushButtons, QMenu etc on the application palette change?
Listen on QEvent::PaletteChange an apply your changes.
-
Listen on QEvent::PaletteChange an apply your changes.
@Christian-Ehrlicher This should work for simple cases but what about complex widgets like
QTreeWidgetwhere icons are set using a decoration role in a model? -
@Christian-Ehrlicher This should work for simple cases but what about complex widgets like
QTreeWidgetwhere icons are set using a decoration role in a model?