Project

General

Profile

WDialog modal

Added by Paul T... about 7 years ago

Hello everybody,

Just a simple question : with a modal WDialog, when opened with exec(), the rest of the interface is put in lighter color

making it look like a difference in Z-order.

Is it possible to detect that the user click outside the modal dialog area in order to close the WDialog ?

Thanks a lot.

Paul


Replies (1)

RE: WDialog modal - Added by Paul T... about 7 years ago

Found it !!!

Just replying to myself if anyone searches the same thing : setTransient was the thing to do !

And then just detect that the Dialog was hidden with the appropriate signal....Et voilà !

Regards,

Paul

    (1-1/1)