Hi! I created a subclass of a QDialog to create a custom one. I inherited QDialog and built it with Qt:ialog window flag. After that, before using exec(), I set window modality to ApplicationModal. However, I still get that the dialog stays on top and the rest of the application which is in the background is still usable. What can there be wrong? I can't find in the documentation anything I'm missing.

Thanks!