This commit is contained in:
恍兮惚兮 2024-06-19 09:46:52 +08:00
parent daf325f3d9
commit 253faf5ce5

View File

@ -222,13 +222,15 @@ class QUnFrameWindow(resizableframeless):
if flag: if flag:
self.show_() self.show_()
self.enterfunction()
else: else:
self.hide_() self.hide_()
def leftclicktray(self, reason): def leftclicktray(self, reason):
# 鼠标左键点击 # 鼠标左键点击
if reason == QSystemTrayIcon.Trigger: if reason == QSystemTrayIcon.Trigger:
self.showhideui() self.show_()
self.enterfunction()
def refreshtoolicon(self): def refreshtoolicon(self):
iconstate = { iconstate = {