PDA

View Full Version : Raising main Window above floating DockWidgets



skimpax
22nd December 2009, 15:25
Hi,

My application contains a main window and several DockWidget.
At startup time, all widgets are docked, then user use to make these widgets floating to be able to view all of them on his screen.

Cliking on a floating DockWidget raise it.
But clicking on the main window does not raise it above its childs floating dock widgets.

Is there a way to implement it ? Any example someshere ?

BR.

high_flyer
22nd December 2009, 16:55
you can try to call raise() directly for that widget.
http://doc.trolltech.com/4.5/qwidget.html#raise

skimpax
23rd December 2009, 10:03
I tried it : it raises the main window AND all its floating childs widgets.

This is not the bavior I want : I need to get main window to come in front of its floating childs widgets.

Any other way to implement this, maybe out of DockWidget ?