[Qt-interest] does WA_ShowWithoutActivating work with QMainWindow?

Cecilia Castillo castillo23 at llnl.gov
Fri Jul 17 22:14:51 CEST 2009


I am trying to bring up my main application window in the background 
by calling setAttribute(Qt::WA_ShowWithoutActivating) before calling 
show(), however it does not seem to work.  I have also tried 
setFocusPolicy(Qt::NoFocus) too, but this does not help

I want to bring up the application but not let it take focus.  Is 
there any way to do this?

Cecilia



More information about the Qt-interest-old mailing list