一些建议 #57
huonanwholovecomputer
started this conversation in
建议
一些建议
#57
Replies: 1 comment
-
其实作者这个git使用习惯…有种开源了但没有完全开的感觉,习惯于本地完成任务打包发送binary和source,版本控制做的实在有点…拉 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
工作建议
Release
中(即位于两种格式的Source code文件)Release
,这样可以保证伴随产品的原代码压缩包内的文件与产品一致。小问题
exact menu.py
中多次导入了sys
模块(如图)功能建议及可能的方案
代码说明:
捕获托盘图标点击事件:
self.tray_icon.activated.connect(self.on_tray_icon_clicked)
来连接托盘图标的点击信号到on_tray_icon_clicked
函数。on_tray_icon_clicked
函数中,判断托盘图标的点击是否是左键点击(QSystemTrayIcon.Trigger
表示左键点击),并根据窗口的显示状态调用animate_show()
或animate_auto_hide()
。窗口显示与隐藏:
animate_show()
函数用于显示窗口,并附加动画效果。animate_auto_hide()
函数用于隐藏窗口,也带有动画效果。其他的BUG或特性
Temp
和hide
参数控制的Beta Was this translation helpful? Give feedback.
All reactions