How can I emit the changeEvent QEvent::StyleChange?
I have a style class which includes extended style information for my application. This has nothing to do with the QStyle class itself, but contains information related to layout and appearance.
What I want to do is make use of the "changeEvent" and send a StyleChange event when I modify this custom class. I see this as clearer than having a separate event for my custom style items. In most cases the widgets have to rebuild/paint themselves regardless of which style changed, so it makes sense.
The documentation on changeEvent is rather sparse however. How can I propagate this message to all windows/widgets in the application?
Bookmarks