def done ( self , result ) : self . _geometry = self . geometry ( ) QtWidgets . QDialog . done ( self , result )
python qdialog close signal
save the geometry before dialog is close to restore it later
def done(self, result):
        """save the geometry before dialog is close to restore it later"""
        self._geometry = self.geometry()
        QtWidgets.QDialog.done(self, result)