[Interest] Hidden application showing itself

John Weeks john at wavemetrics.com
Mon Mar 2 20:14:14 CET 2015


Macintosh, Qt 5.4

I have a complaint from a customer who is alpha testing our application port to Qt. He uses the Application Menu Hide Others item to hide our application while he does other work in other applications. Since our application is scriptable and can do computations that literally take hours or days, he wants to set the application running his script while does other work in other applications. To avoid the flashing windows while his script runs, he uses the Hide Others to hide our application.

But QWidget::show() causes the application to un-hide. So two questions:

1) Is there a way to tell Qt that it should honor the application being hidden?

2) Is there a way to ask Qt if the application is hidden? If I could find that out, I could manage the visibility of our windows myself.

Thanks,

-John Weeks




More information about the Interest mailing list