Ist there a "signal" if application main window raised?
Unsolved
General and Desktop
-
@ademmler
There isn't a signal. However, allQWidget
s, includingQMainWindow
, have a showEvent. You must subclass fromQMainWindow
for yours, and then you can override thisvirtual protected
method, and do whatever you want there (be sure to call the base class method before or after your code).In Qt some things emit a signal for you to act on, while other things have
virtual
methods which require you to subclass and override. The distinction/which one is available is a touch "random"... :)