MCPcopy Create free account
hub / github.com/PyQt5/PyQt / closeEvent

Method closeEvent

QSystemTrayIcon/TrayNotify.py:38–41  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

36 self.flash_timer = QTimer(self, timeout=self.flash_icon)
37
38 def closeEvent(self, event):
39 self.stop_flash()
40 self.tray_icon.hide()
41 super(Window, self).closeEvent(event)
42
43 def start_flash(self):
44 """开始闪烁"""

Callers

nothing calls this directly

Calls 1

stop_flashMethod · 0.95

Tested by

no test coverage detected