PDA

View Full Version : How to keep a dialog window in front of others windows.



RicardoSousa
23rd March 2012, 10:45
Hello, :)

I would like to ask how to keep a dialog window in front of the main window when I click over it.

Thank you in advance

All the best

Ricardo Sousa

wysota
23rd March 2012, 11:14
Make the main window the parent of the dialog.

MrShahi
26th March 2012, 13:49
To activate QDialog window in front of the main window , use exec() function for QDialog rather than show() function.