質問

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?

役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top