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().
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With