title: check if any window is open in a Qt application
body: <p>I have an application in Qt and it has a tray icon. I dont want to open the tray icon menu if any of the window is open in the application. In effect i want to prevent the user from opening multiple windows simultaneously. Could you please help?</p>