def reset(self): self.state=self.geometry=None for d in self.docks: d.dock.setFloating(False) d.dock.setVisible(True) mw.removeDockWidget(d.dock) d.dock=d.web=None d.killed=False d.show() self.wmChkBox.setChecked(True)
def _remDockable(self, dock): mw.removeDockWidget(dock)