Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyQt5/PyQt
/ start_flash
Method
start_flash
QSystemTrayIcon/TrayNotify.py:43–46 ·
view source on GitHub ↗
开始闪烁
(self)
Source
from the content-addressed store, hash-verified
41
super(Window, self).closeEvent(event)
42
43
def
start_flash(self):
44
""
"开始闪烁"
""
45
if
not self.flash_timer.isActive():
46
self.flash_timer.start(500)
47
48
def
stop_flash(self):
49
""
"停止闪烁后需要显示图标"
""
Callers
nothing calls this directly
Calls
1
start
Method · 0.45
Tested by
no test coverage detected