

def _reset_fixed_sizes(self):
    ' Clears any fixed sizes assined to QDockWidgets.\n        '
    if (self.control is None):
        return
    QWIDGETSIZE_MAX = ((1 << 24) - 1)
    for child in self.control.children():
        if isinstance(child, QtGui.QDockWidget):
            child.widget().setMaximumSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX)
            child.widget().setMinimumSize(0, 0)
            child.setMaximumSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX)
            child.setMinimumSize(0, 0)

dataset/ETHPy150Open enthought/pyface/pyface/ui/qt4/tasks/main_window_layout.py MainWindowLayout._reset_fixed_sizes/original