摘要: 1.动画属性setPropertyName()值设置及其效果 1.1.位置变换动画 from PyQt5.Qt import * class Window(QWidget): def __init__(self): super(Window, self).__init__() self.setWin 阅读全文
posted @ 2020-03-12 17:43 墨色无墨 阅读(4128) 评论(3) 推荐(0)
摘要: QTimer常用的方法: 常用的方法:start(milliseconds):启动或重新启动定时器,时间间隔为毫秒,如果定时器已经运行,他将停止并重新启动,如果singleSlot信号为真,定时器仅被激活一次 stop():停止定时器 常用的信号:singleshot():在给定的时间间隔后调用一个 阅读全文
posted @ 2020-03-12 14:26 墨色无墨 阅读(3829) 评论(0) 推荐(0)