How to create movable dock widgets?
Hi,
I am using Qt 4.0 and I am trying to create a main window with dock widgets using the Qt Designer. When the dock widgets are in float status, I cannot move/drag the widgets around. I have tried changing the QDockWidget::features to Floatable and different combinations of the Qt::DockWidgetAreas, but to no avail.
Can someone please explain how to create movable widgets?
Thanks.
Re: How to movable dock widgets?
did you have a look at the
Dock Widgets Example
Cheers
Re: How to movable dock widgets?
I have tried following the example here:
http://doc.trolltech.com/4.1/mainwin...ckwidgets.html
But it does not demonstrate how do it using Qt Designer.
Is this possible using with Qt 4.0?
Re: How to movable dock widgets?
in QT4.1.1 it is possible :
set the docked property to true
and set the dockWidgetArea to the position you want to start with.
Afterwards you can drag it to other positions or get it floated.
Cheers