Вопрос

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