Frage

I have several modal dialogs and main dialog where I exec() modal. How do I know if a main window blocked by modal or not?

War es hilfreich?

Lösung

You can check if there is an active modal dialog with QApplication::activeModalWidget().

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top