[Interest] Bug in QDockWidget ?

Etienne Sandré-Chardonnal etienne.sandre at m4x.org
Thu Jul 11 14:44:14 CEST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130711/8ff1da4d/attachment.html>


More information about the Interest mailing list