That's fine. I only wanted to mark, that you shouldn't post LanguageChange yourself.
You can instead apply an event filter on every object and handle the event through that event filter, but this will be tedious. I think it will be simplest to either subclass QApplication and do the retheming directly there without propagating the event to widgets or to apply an event filter on the application object and to practically the same, just withouth subclassing.The Qt documentation had already hinted me towards reimplementing QObject::event() but I had hoped that this would not be really necessary. Do I really have to reimplement this member in all classes that are supposed to be able to handle the event?![]()
Bookmarks