Hi,

I have a QMainWindow in which I drive my application. Sometimes I need to display some warning messages in my application and what I want is to disable any input receiving for all of the widgets(widgets inside the mainwindow) but a warning message dialog whenever it appears.

In order to do that, I set the window modality for my warning message widget whenever it appears but the problem is, when I do that I also disable the dialog itself.

Is there a way to do this?

Thanks in advance