class TreeWidget(QtGui.QTreeWidget):

    def sizeHint(self):
        return QtCore.QSize(150, 75)
mw.dockWdg2 = QtGui.QDockWidget(mw)
How to set QDockWidget initial (default) size in the app with no central widget (PyQt4)?