MCPcopy
hub / github.com/PyQt5/PyQt / closeEvent

Method closeEvent

Demo/BackingWidget.py:30–36  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

28 self.resize(800, 600)
29
30 def closeEvent(self, event):
31 if self._thread:
32 self._thread.stop()
33 self._thread.quit()
34 self._thread.wait(100)
35 del self._thread
36 super().closeEvent(event)
37
38 def showEvent(self, event):
39 super().showEvent(event)

Callers

nothing calls this directly

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected