Dear all,

I have a Dock Widget, which I prevent from docking with:

setAllowedAreas(Qt::NoDockWidgetArea);

setFeatures(QDockWidget::DockWidgetClosable |
QDockWidget::DockWidgetMovable | QDockWidget::DockWidgetFloatable);

setFloating(true);


However, double clicking its title bar docks it. Is this a bug?

I know, it's weird to have a non-dockable QDockWidget, but I do this because:

 - This is a toolbox, so it should has the same look'n'feel as other
floated DockWidgets

 - It's too large to render properly when docked

 - It's convenient to use the save/restore functions from QMainWindow


Etienne
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to