PDA

View Full Version : How do you keep a window on top ?



Windsoarer
25th January 2009, 08:58
There is a QDialog window, where results are displayed, that I'd like to keep on top of all other widows and dialogs in my application.

Any hint on how to do this ?

Thanks

janus
25th January 2009, 09:26
Hi,

try maybe Qt::Tool. The window always stays on top of its parent.

seneca
25th January 2009, 09:31
Use the window flag Qt::WindowStaysOnTopHint

Windsoarer
25th January 2009, 09:51
Great !

Thanks for the quick answer