[PyQt] dockWidget closed without reason.

Vincent Vande Vyvre vincent.vandevyvre at swing.be
Fri Apr 30 09:05:19 BST 2010


Hi,

I have a window with a dockWidget instancied like this:

    self.properties_dock = QtGui.QDockWidget(MainWindow)
    self.properties_dock.setFeatures(QtGui.QDockWidget.DockWidgetClosable|
                                    QtGui.QDockWidget.DockWidgetMovable)

When I make reappear the window, after I reduced it in the taskbar, the
dock is closed.
Same problem when I change the space working, the dock disappears
automatically.

Any ideas ?

Vincent



More information about the PyQt mailing list