Update eventEngine.py
事件引擎测试函数也去掉qt4,采用qtpy
This commit is contained in:
parent
010bd71dd4
commit
d2a3d05384
@ -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())))
|
||||||
|
Loading…
Reference in New Issue
Block a user