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?
问问题
1131 次
1 回答
6
You can check if there is an active modal dialog with QApplication::activeModalWidget().
于 2013-03-22T17:45:18.767 回答