Merge pull request #685 from shaoupipi/patch-1

Update eventEngine.py
This commit is contained in:
vn.py 2018-01-15 09:24:28 +08:00 committed by GitHub
commit 1c9871dc7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -336,7 +336,7 @@ def test():
"""测试函数""" """测试函数"""
import sys import sys
from datetime import datetime from datetime import datetime
from PyQt4.QtCore import QCoreApplication from qtpy.QtCore import QCoreApplication
def simpletest(event): def simpletest(event):
print(u'处理每秒触发的计时器事件:{}'.format(str(datetime.now()))) print(u'处理每秒触发的计时器事件:{}'.format(str(datetime.now())))
@ -353,4 +353,4 @@ def test():
# 直接运行脚本可以进行测试 # 直接运行脚本可以进行测试
if __name__ == '__main__': if __name__ == '__main__':
test() test()