def hide(self, *args): self.save_state() return QDialog.hide(self, *args)
def hide(self): self._geometry = self.geometry() QDialog.hide(self) self.parent().setVisible(False)