From fe636ade048898efbc8ea6ae9982d7556730063f Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Tue, 27 Mar 2018 10:10:00 +0800 Subject: [PATCH] =?UTF-8?q?[Add]=E5=A2=9E=E5=8A=A0=E5=AF=B9pyqtSignal?= =?UTF-8?q?=E7=9A=84=E7=89=88=E6=9C=AC=E5=85=BC=E5=AE=B9=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/trader/uiQt.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vnpy/trader/uiQt.py b/vnpy/trader/uiQt.py index b6af0a13..c31e2bce 100644 --- a/vnpy/trader/uiQt.py +++ b/vnpy/trader/uiQt.py @@ -7,6 +7,11 @@ from qtpy import QtWidgets, QtGui, QtCore from vnpy.trader.vtGlobal import globalSetting from vnpy.trader.vtFunction import loadIconPath + +if not hasattr(QtCore, 'pyqtSignal'): + QtCore.pyqtSignal = QtCore.Signal + + BASIC_FONT = None try: family = globalSetting['fontFamily']