更新About组件里的内容。

This commit is contained in:
chenxy123 2016-04-16 20:48:54 +08:00
parent d28909d443
commit 747e08afa9
3 changed files with 11 additions and 36 deletions

1
.gitignore vendored
View File

@ -45,6 +45,7 @@ Release/
# 不想同步的
*.local
*.temp
*.vt
=======
vn.ctp/build/*
vn.lts/build/*

View File

@ -29,9 +29,9 @@ STOPORDERPREFIX = 'CtaStopOrder.'
# 数据库名称
SETTING_DB_NAME = 'VnTrader_Setting_Db'
TICK_DB_NAME = 'VtTrader_Tick_Db'
DAILY_DB_NAME = 'VtTrader_Daily_Db'
MINUTE_DB_NAME = 'VtTrader_1Min_Db'
TICK_DB_NAME = 'VnTrader_Tick_Db'
DAILY_DB_NAME = 'VnTrader_Daily_Db'
MINUTE_DB_NAME = 'VnTrader_1Min_Db'
# CTA引擎中涉及的数据类定义

View File

@ -238,10 +238,8 @@ class MainWindow(QtGui.QMainWindow):
#----------------------------------------------------------------------
def test(self):
"""测试按钮用的函数"""
api = self.mainEngine.gatewayDict['KSGOLD'].tdApi
api.reqID += 1
api.reqQryOrder({}, api.reqID)
#api.reqQryTrade({}, api.reqID)
# 有需要使用手动触发的测试函数可以写在这里
pass
#----------------------------------------------------------------------
def openAbout(self):
@ -309,40 +307,16 @@ class AboutWidget(QtGui.QDialog):
#----------------------------------------------------------------------
def initUi(self):
""""""
self.setWindowTitle(u'关于')
self.setWindowTitle(u'关于VnTrader')
text = u"""
VnTrader
更新日期2015/9/29
作者用Python的交易员
Developed by traders, for traders.
LicenseMIT
主页vnpy.org
Githubgithub.com/vnpy/vnpy
QQ交流群262656087
开发环境
操作系统Windows 7 专业版 64
Python发行版Python 2.7.6 (Anaconda 1.9.2 Win-32)
CTPvn.ctp 2015/6/1
图形库PyQt4 4.11.3 Py2.7-x32
事件驱动引擎vn.event
开发环境WingIDE 5.0.6
Websitewww.vnpy.org
Githubwww.github.com/vnpy/vnpy
"""