コード例 #1
0
ファイル: toolkit.py プロジェクト: davidmorrill/facets
 def closeEvent(self, event):
     """ Handles the user requesting the window to close.
     """
     # If the 'Handler' allowed the window to close, then pass the request
     # along to the standard Qt event handler, which will close the window:
     if getattr(self, "_closed", False):
         QDialog.closeEvent(self, event)
コード例 #2
0
ファイル: fourier_widget.py プロジェクト: d42/Fourierism
 def closeEvent(self, event):
     self._clear()
     QDialog.closeEvent(self, event)
コード例 #3
0
ファイル: fourier_widget.py プロジェクト: d42/Fourierism
 def closeEvent(self, event):
     self._clear()
     QDialog.closeEvent(self, event)