Skip to content

Commit

Permalink
新版本pyqt没有pyqtSignal方法,统一使用Signal
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Aug 2, 2017
1 parent 5797487 commit 6eaee48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vnpy/trader/app/spreadTrading/uiStWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(self, mainEngine, eventEngine, parent=None):
########################################################################
class StLogMonitor(QtWidgets.QTextEdit):
"""价差日志监控"""
signal = QtCore.pyqtSignal(type(Event()))
signal = QtCore.Signal(type(Event()))

#----------------------------------------------------------------------
def __init__(self, mainEngine, eventEngine, parent=None):
Expand Down Expand Up @@ -300,7 +300,7 @@ def algoActiveChanged(self, active):
########################################################################
class StActiveButton(QtWidgets.QPushButton):
""""""
signalActive = QtCore.pyqtSignal(bool)
signalActive = QtCore.Signal(bool)

#----------------------------------------------------------------------
def __init__(self, algoEngine, spreadName, parent=None):
Expand Down

0 comments on commit 6eaee48

Please sign in to comment.