PDA

View Full Version : QEvent::ApplicationDeactivate



migel
21st April 2012, 22:17
Hi

How to deactivate the mainwindow ?

I want to force mainwindow to get QEvent::ApplicationDeactivate state programatically. Hide() or close() does not set the app as deactivated.

mentalmushroom
23rd April 2012, 07:54
my guess is you should activate another window (probably from another application)