hikyuu2/hikyuu_python/tools/maintain/MainWindow.py

290 lines
18 KiB
C++
Raw Normal View History

2018-10-15 01:40:20 +08:00
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'MainWindow.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
2018-10-29 02:55:39 +08:00
MainWindow.resize(1067, 598)
2018-10-15 01:40:20 +08:00
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
2018-10-29 02:55:39 +08:00
self.tabWidget.setGeometry(QtCore.QRect(0, 0, 1071, 601))
2018-10-15 01:40:20 +08:00
self.tabWidget.setObjectName("tabWidget")
2018-10-17 02:15:56 +08:00
self.tab = QtWidgets.QWidget()
self.tab.setObjectName("tab")
2018-10-18 01:31:15 +08:00
self.start_import_pushButton = QtWidgets.QPushButton(self.tab)
2018-10-19 01:44:04 +08:00
self.start_import_pushButton.setGeometry(QtCore.QRect(540, 30, 75, 23))
2018-10-18 01:31:15 +08:00
self.start_import_pushButton.setObjectName("start_import_pushButton")
2018-10-17 02:15:56 +08:00
self.groupBox_2 = QtWidgets.QGroupBox(self.tab)
2018-11-02 01:42:27 +08:00
self.groupBox_2.setGeometry(QtCore.QRect(10, 90, 511, 91))
2018-10-16 02:15:42 +08:00
self.groupBox_2.setObjectName("groupBox_2")
2018-10-17 02:15:56 +08:00
self.layoutWidget = QtWidgets.QWidget(self.groupBox_2)
2018-11-02 01:42:27 +08:00
self.layoutWidget.setGeometry(QtCore.QRect(20, 20, 481, 61))
2018-10-17 02:15:56 +08:00
self.layoutWidget.setObjectName("layoutWidget")
self.gridLayout_2 = QtWidgets.QGridLayout(self.layoutWidget)
2018-10-16 02:15:42 +08:00
self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
self.gridLayout_2.setObjectName("gridLayout_2")
2018-10-18 01:31:15 +08:00
self.select_dzh_dir_pushButton = QtWidgets.QPushButton(self.layoutWidget)
self.select_dzh_dir_pushButton.setObjectName("select_dzh_dir_pushButton")
self.gridLayout_2.addWidget(self.select_dzh_dir_pushButton, 1, 3, 1, 1)
2018-10-17 02:15:56 +08:00
self.dzh_dir_lineEdit = QtWidgets.QLineEdit(self.layoutWidget)
self.dzh_dir_lineEdit.setObjectName("dzh_dir_lineEdit")
self.gridLayout_2.addWidget(self.dzh_dir_lineEdit, 1, 2, 1, 1)
self.tdx_enable_checkBox = QtWidgets.QCheckBox(self.layoutWidget)
self.tdx_enable_checkBox.setObjectName("tdx_enable_checkBox")
self.gridLayout_2.addWidget(self.tdx_enable_checkBox, 0, 0, 1, 1)
self.label_2 = QtWidgets.QLabel(self.layoutWidget)
2018-10-16 02:15:42 +08:00
self.label_2.setObjectName("label_2")
2018-10-17 02:15:56 +08:00
self.gridLayout_2.addWidget(self.label_2, 0, 1, 1, 1)
self.tdx_dir_lineEdit = QtWidgets.QLineEdit(self.layoutWidget)
self.tdx_dir_lineEdit.setObjectName("tdx_dir_lineEdit")
self.gridLayout_2.addWidget(self.tdx_dir_lineEdit, 0, 2, 1, 1)
2018-10-18 01:31:15 +08:00
self.select_tdx_dir_pushButton = QtWidgets.QPushButton(self.layoutWidget)
self.select_tdx_dir_pushButton.setObjectName("select_tdx_dir_pushButton")
self.gridLayout_2.addWidget(self.select_tdx_dir_pushButton, 0, 3, 1, 1)
2018-11-04 11:23:07 +08:00
self.label_3 = QtWidgets.QLabel(self.layoutWidget)
self.label_3.setObjectName("label_3")
self.gridLayout_2.addWidget(self.label_3, 1, 1, 1, 1)
self.dzh_checkBox = QtWidgets.QCheckBox(self.layoutWidget)
self.dzh_checkBox.setObjectName("dzh_checkBox")
self.gridLayout_2.addWidget(self.dzh_checkBox, 1, 0, 1, 1)
2018-10-17 02:15:56 +08:00
self.groupBox = QtWidgets.QGroupBox(self.tab)
2018-11-02 01:42:27 +08:00
self.groupBox.setGeometry(QtCore.QRect(10, 200, 511, 71))
2018-10-17 02:15:56 +08:00
self.groupBox.setObjectName("groupBox")
2018-10-18 01:31:15 +08:00
self.layoutWidget1 = QtWidgets.QWidget(self.groupBox)
2018-11-02 01:42:27 +08:00
self.layoutWidget1.setGeometry(QtCore.QRect(20, 30, 481, 22))
2018-10-18 01:31:15 +08:00
self.layoutWidget1.setObjectName("layoutWidget1")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.layoutWidget1)
2018-10-17 02:15:56 +08:00
self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
2018-10-18 01:31:15 +08:00
self.label_10 = QtWidgets.QLabel(self.layoutWidget1)
2018-10-17 02:15:56 +08:00
self.label_10.setObjectName("label_10")
self.horizontalLayout.addWidget(self.label_10)
2018-10-18 01:31:15 +08:00
self.tdx_servers_comboBox = QtWidgets.QComboBox(self.layoutWidget1)
2018-10-17 02:15:56 +08:00
self.tdx_servers_comboBox.setObjectName("tdx_servers_comboBox")
self.horizontalLayout.addWidget(self.tdx_servers_comboBox)
2018-10-18 01:31:15 +08:00
self.label_11 = QtWidgets.QLabel(self.layoutWidget1)
2018-10-17 02:15:56 +08:00
self.label_11.setObjectName("label_11")
self.horizontalLayout.addWidget(self.label_11)
2018-10-18 01:31:15 +08:00
self.tdx_port_lineEdit = QtWidgets.QLineEdit(self.layoutWidget1)
2018-10-17 02:15:56 +08:00
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.tdx_port_lineEdit.sizePolicy().hasHeightForWidth())
self.tdx_port_lineEdit.setSizePolicy(sizePolicy)
self.tdx_port_lineEdit.setObjectName("tdx_port_lineEdit")
self.horizontalLayout.addWidget(self.tdx_port_lineEdit)
self.horizontalLayout.setStretch(1, 1)
self.horizontalLayout.setStretch(3, 1)
self.groupBox_3 = QtWidgets.QGroupBox(self.tab)
2018-11-02 01:42:27 +08:00
self.groupBox_3.setGeometry(QtCore.QRect(10, 290, 511, 101))
2018-10-16 02:15:42 +08:00
self.groupBox_3.setObjectName("groupBox_3")
2018-10-18 01:31:15 +08:00
self.layoutWidget2 = QtWidgets.QWidget(self.groupBox_3)
2018-11-02 01:42:27 +08:00
self.layoutWidget2.setGeometry(QtCore.QRect(20, 60, 481, 25))
2018-10-18 01:31:15 +08:00
self.layoutWidget2.setObjectName("layoutWidget2")
self.gridLayout_3 = QtWidgets.QGridLayout(self.layoutWidget2)
2018-10-16 02:15:42 +08:00
self.gridLayout_3.setContentsMargins(0, 0, 0, 0)
self.gridLayout_3.setObjectName("gridLayout_3")
2018-10-18 01:31:15 +08:00
self.hdf5_dir_lineEdit = QtWidgets.QLineEdit(self.layoutWidget2)
2018-10-17 02:15:56 +08:00
self.hdf5_dir_lineEdit.setObjectName("hdf5_dir_lineEdit")
self.gridLayout_3.addWidget(self.hdf5_dir_lineEdit, 0, 1, 1, 1)
2018-10-18 01:31:15 +08:00
self.hdf5_dir_pushButton = QtWidgets.QPushButton(self.layoutWidget2)
self.hdf5_dir_pushButton.setObjectName("hdf5_dir_pushButton")
self.gridLayout_3.addWidget(self.hdf5_dir_pushButton, 0, 2, 1, 1)
self.label = QtWidgets.QLabel(self.layoutWidget2)
2018-10-17 02:15:56 +08:00
self.label.setObjectName("label")
self.gridLayout_3.addWidget(self.label, 0, 0, 1, 1)
self.hdf5_enable_checkBox = QtWidgets.QCheckBox(self.groupBox_3)
self.hdf5_enable_checkBox.setGeometry(QtCore.QRect(20, 30, 121, 16))
self.hdf5_enable_checkBox.setObjectName("hdf5_enable_checkBox")
self.groupBox_4 = QtWidgets.QGroupBox(self.tab)
2018-11-02 01:42:27 +08:00
self.groupBox_4.setGeometry(QtCore.QRect(10, 410, 511, 151))
2018-10-16 02:15:42 +08:00
self.groupBox_4.setObjectName("groupBox_4")
2018-10-17 02:15:56 +08:00
self.mysql_enable_checkBox = QtWidgets.QCheckBox(self.groupBox_4)
2018-10-27 22:59:39 +08:00
self.mysql_enable_checkBox.setEnabled(False)
2018-10-17 02:15:56 +08:00
self.mysql_enable_checkBox.setGeometry(QtCore.QRect(20, 30, 141, 16))
self.mysql_enable_checkBox.setObjectName("mysql_enable_checkBox")
2018-10-16 02:15:42 +08:00
self.pushButton_5 = QtWidgets.QPushButton(self.groupBox_4)
2018-10-27 22:59:39 +08:00
self.pushButton_5.setEnabled(False)
2018-10-17 02:15:56 +08:00
self.pushButton_5.setGeometry(QtCore.QRect(20, 120, 101, 23))
2018-10-16 02:15:42 +08:00
self.pushButton_5.setObjectName("pushButton_5")
2018-10-18 01:31:15 +08:00
self.layoutWidget3 = QtWidgets.QWidget(self.groupBox_4)
2018-11-02 01:42:27 +08:00
self.layoutWidget3.setGeometry(QtCore.QRect(20, 60, 481, 48))
2018-10-18 01:31:15 +08:00
self.layoutWidget3.setObjectName("layoutWidget3")
self.gridLayout_4 = QtWidgets.QGridLayout(self.layoutWidget3)
2018-10-16 02:15:42 +08:00
self.gridLayout_4.setContentsMargins(0, 0, 0, 0)
self.gridLayout_4.setObjectName("gridLayout_4")
2018-10-18 01:31:15 +08:00
self.mysql_host_lineEdit = QtWidgets.QLineEdit(self.layoutWidget3)
2018-10-27 22:59:39 +08:00
self.mysql_host_lineEdit.setEnabled(False)
2018-10-17 02:15:56 +08:00
self.mysql_host_lineEdit.setObjectName("mysql_host_lineEdit")
self.gridLayout_4.addWidget(self.mysql_host_lineEdit, 0, 1, 1, 1)
2018-10-18 01:31:15 +08:00
self.mysql_port_lineEdit = QtWidgets.QLineEdit(self.layoutWidget3)
2018-10-27 22:59:39 +08:00
self.mysql_port_lineEdit.setEnabled(False)
2018-10-17 02:15:56 +08:00
self.mysql_port_lineEdit.setObjectName("mysql_port_lineEdit")
self.gridLayout_4.addWidget(self.mysql_port_lineEdit, 0, 4, 1, 1)
2018-10-18 01:31:15 +08:00
self.label_4 = QtWidgets.QLabel(self.layoutWidget3)
2018-10-16 02:15:42 +08:00
self.label_4.setObjectName("label_4")
self.gridLayout_4.addWidget(self.label_4, 0, 0, 1, 1)
2018-10-18 01:31:15 +08:00
self.label_5 = QtWidgets.QLabel(self.layoutWidget3)
2018-10-16 02:15:42 +08:00
self.label_5.setObjectName("label_5")
self.gridLayout_4.addWidget(self.label_5, 0, 3, 1, 1)
2018-11-02 01:42:27 +08:00
self.label_6 = QtWidgets.QLabel(self.layoutWidget3)
self.label_6.setObjectName("label_6")
self.gridLayout_4.addWidget(self.label_6, 1, 0, 1, 1)
self.label_7 = QtWidgets.QLabel(self.layoutWidget3)
self.label_7.setObjectName("label_7")
self.gridLayout_4.addWidget(self.label_7, 1, 3, 1, 1)
self.mysql_usr_lineEdit = QtWidgets.QLineEdit(self.layoutWidget3)
self.mysql_usr_lineEdit.setEnabled(False)
self.mysql_usr_lineEdit.setObjectName("mysql_usr_lineEdit")
self.gridLayout_4.addWidget(self.mysql_usr_lineEdit, 1, 1, 1, 1)
self.mysql_pwd_lineEdit = QtWidgets.QLineEdit(self.layoutWidget3)
self.mysql_pwd_lineEdit.setEnabled(False)
self.mysql_pwd_lineEdit.setObjectName("mysql_pwd_lineEdit")
self.gridLayout_4.addWidget(self.mysql_pwd_lineEdit, 1, 4, 1, 1)
2018-10-17 02:15:56 +08:00
spacerItem = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
self.gridLayout_4.addItem(spacerItem, 0, 2, 1, 1)
self.groupBox_5 = QtWidgets.QGroupBox(self.tab)
2018-10-29 02:55:39 +08:00
self.groupBox_5.setGeometry(QtCore.QRect(530, 90, 521, 291))
2018-10-17 02:15:56 +08:00
self.groupBox_5.setObjectName("groupBox_5")
2018-10-18 01:31:15 +08:00
self.layoutWidget4 = QtWidgets.QWidget(self.groupBox_5)
2018-11-02 01:42:27 +08:00
self.layoutWidget4.setGeometry(QtCore.QRect(10, 20, 501, 101))
2018-10-18 01:31:15 +08:00
self.layoutWidget4.setObjectName("layoutWidget4")
self.gridLayout = QtWidgets.QGridLayout(self.layoutWidget4)
2018-10-17 02:15:56 +08:00
self.gridLayout.setContentsMargins(0, 0, 0, 0)
self.gridLayout.setObjectName("gridLayout")
2018-10-18 01:31:15 +08:00
self.label_8 = QtWidgets.QLabel(self.layoutWidget4)
2018-10-17 02:15:56 +08:00
self.label_8.setObjectName("label_8")
self.gridLayout.addWidget(self.label_8, 0, 0, 1, 1)
2018-10-29 02:55:39 +08:00
self.label_12 = QtWidgets.QLabel(self.layoutWidget4)
self.label_12.setObjectName("label_12")
self.gridLayout.addWidget(self.label_12, 1, 0, 1, 1)
self.hdf5_min_progressBar = QtWidgets.QProgressBar(self.layoutWidget4)
self.hdf5_min_progressBar.setProperty("value", 0)
self.hdf5_min_progressBar.setObjectName("hdf5_min_progressBar")
self.gridLayout.addWidget(self.hdf5_min_progressBar, 2, 1, 1, 1)
2018-11-02 01:42:27 +08:00
self.label_14 = QtWidgets.QLabel(self.layoutWidget4)
self.label_14.setObjectName("label_14")
self.gridLayout.addWidget(self.label_14, 2, 0, 1, 1)
2018-10-30 02:13:43 +08:00
self.hdf5_5min_progressBar = QtWidgets.QProgressBar(self.layoutWidget4)
self.hdf5_5min_progressBar.setProperty("value", 0)
self.hdf5_5min_progressBar.setObjectName("hdf5_5min_progressBar")
self.gridLayout.addWidget(self.hdf5_5min_progressBar, 1, 1, 1, 1)
2018-11-02 01:42:27 +08:00
self.hdf5_day_progressBar = QtWidgets.QProgressBar(self.layoutWidget4)
self.hdf5_day_progressBar.setProperty("value", 0)
self.hdf5_day_progressBar.setObjectName("hdf5_day_progressBar")
self.gridLayout.addWidget(self.hdf5_day_progressBar, 0, 1, 1, 1)
self.label_9 = QtWidgets.QLabel(self.layoutWidget4)
self.label_9.setObjectName("label_9")
self.gridLayout.addWidget(self.label_9, 3, 0, 1, 1)
self.hdf5_weight_label = QtWidgets.QLabel(self.layoutWidget4)
self.hdf5_weight_label.setObjectName("hdf5_weight_label")
self.gridLayout.addWidget(self.hdf5_weight_label, 3, 1, 1, 1)
2018-10-19 01:44:04 +08:00
self.groupBox_6 = QtWidgets.QGroupBox(self.tab)
2018-11-04 11:23:07 +08:00
self.groupBox_6.setGeometry(QtCore.QRect(210, 20, 271, 51))
2018-10-19 01:44:04 +08:00
self.groupBox_6.setObjectName("groupBox_6")
2018-10-21 01:56:30 +08:00
self.layoutWidget5 = QtWidgets.QWidget(self.groupBox_6)
2018-11-02 01:42:27 +08:00
self.layoutWidget5.setGeometry(QtCore.QRect(20, 20, 244, 18))
2018-10-21 01:56:30 +08:00
self.layoutWidget5.setObjectName("layoutWidget5")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.layoutWidget5)
2018-10-19 01:44:04 +08:00
self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
2018-10-21 01:56:30 +08:00
self.import_day_checkBox = QtWidgets.QCheckBox(self.layoutWidget5)
2018-10-19 01:44:04 +08:00
self.import_day_checkBox.setObjectName("import_day_checkBox")
self.horizontalLayout_2.addWidget(self.import_day_checkBox)
2018-10-21 01:56:30 +08:00
self.import_min_checkBox = QtWidgets.QCheckBox(self.layoutWidget5)
2018-10-19 01:44:04 +08:00
self.import_min_checkBox.setObjectName("import_min_checkBox")
self.horizontalLayout_2.addWidget(self.import_min_checkBox)
2018-10-21 01:56:30 +08:00
self.import_min5_checkBox = QtWidgets.QCheckBox(self.layoutWidget5)
2018-10-19 01:44:04 +08:00
self.import_min5_checkBox.setObjectName("import_min5_checkBox")
self.horizontalLayout_2.addWidget(self.import_min5_checkBox)
2018-10-21 01:56:30 +08:00
self.import_tick_checkBox = QtWidgets.QCheckBox(self.layoutWidget5)
2018-10-19 01:44:04 +08:00
self.import_tick_checkBox.setEnabled(False)
self.import_tick_checkBox.setObjectName("import_tick_checkBox")
self.horizontalLayout_2.addWidget(self.import_tick_checkBox)
self.groupBox_7 = QtWidgets.QGroupBox(self.tab)
2018-11-04 11:23:07 +08:00
self.groupBox_7.setGeometry(QtCore.QRect(10, 20, 181, 51))
2018-10-19 01:44:04 +08:00
self.groupBox_7.setObjectName("groupBox_7")
2018-10-21 01:56:30 +08:00
self.layoutWidget6 = QtWidgets.QWidget(self.groupBox_7)
2018-11-04 11:23:07 +08:00
self.layoutWidget6.setGeometry(QtCore.QRect(20, 20, 151, 18))
2018-10-21 01:56:30 +08:00
self.layoutWidget6.setObjectName("layoutWidget6")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.layoutWidget6)
2018-10-19 01:44:04 +08:00
self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
2018-10-21 01:56:30 +08:00
self.import_stock_checkBox = QtWidgets.QCheckBox(self.layoutWidget6)
2018-10-19 01:44:04 +08:00
self.import_stock_checkBox.setObjectName("import_stock_checkBox")
self.horizontalLayout_3.addWidget(self.import_stock_checkBox)
2018-10-21 01:56:30 +08:00
self.import_fund_checkBox = QtWidgets.QCheckBox(self.layoutWidget6)
2018-10-19 01:44:04 +08:00
self.import_fund_checkBox.setObjectName("import_fund_checkBox")
self.horizontalLayout_3.addWidget(self.import_fund_checkBox)
2018-10-21 01:56:30 +08:00
self.import_future_checkBox = QtWidgets.QCheckBox(self.layoutWidget6)
2018-10-19 01:44:04 +08:00
self.import_future_checkBox.setEnabled(False)
self.import_future_checkBox.setObjectName("import_future_checkBox")
self.horizontalLayout_3.addWidget(self.import_future_checkBox)
2018-10-27 22:59:39 +08:00
self.import_status_label = QtWidgets.QLabel(self.tab)
self.import_status_label.setGeometry(QtCore.QRect(650, 30, 361, 21))
self.import_status_label.setObjectName("import_status_label")
2018-10-17 02:15:56 +08:00
self.tabWidget.addTab(self.tab, "")
self.tab_2 = QtWidgets.QWidget()
self.tab_2.setObjectName("tab_2")
self.tabWidget.addTab(self.tab_2, "")
2018-10-15 01:40:20 +08:00
MainWindow.setCentralWidget(self.centralwidget)
self.retranslateUi(MainWindow)
2018-10-18 01:31:15 +08:00
self.tabWidget.setCurrentIndex(0)
2018-10-15 01:40:20 +08:00
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "数据导入工具"))
2018-10-18 01:31:15 +08:00
self.start_import_pushButton.setText(_translate("MainWindow", "执行导入"))
2018-10-17 02:15:56 +08:00
self.groupBox_2.setTitle(_translate("MainWindow", "K线数据源"))
2018-10-18 01:31:15 +08:00
self.select_dzh_dir_pushButton.setText(_translate("MainWindow", "选择"))
2018-10-17 02:15:56 +08:00
self.tdx_enable_checkBox.setText(_translate("MainWindow", "使用"))
self.label_2.setText(_translate("MainWindow", "通达信安装目录:"))
2018-10-18 01:31:15 +08:00
self.select_tdx_dir_pushButton.setText(_translate("MainWindow", "选择"))
2018-11-04 11:23:07 +08:00
self.label_3.setText(_translate("MainWindow", "大智慧安装目录:"))
self.dzh_checkBox.setText(_translate("MainWindow", "使用"))
2018-10-17 02:15:56 +08:00
self.groupBox.setTitle(_translate("MainWindow", "Pytdx配置权息、财务数据源"))
self.label_10.setText(_translate("MainWindow", "行情服务器:"))
self.label_11.setText(_translate("MainWindow", "端口:"))
self.tdx_port_lineEdit.setText(_translate("MainWindow", "7709"))
2018-10-16 02:15:42 +08:00
self.groupBox_3.setTitle(_translate("MainWindow", "HDF5保存数据设置"))
2018-10-18 01:31:15 +08:00
self.hdf5_dir_pushButton.setText(_translate("MainWindow", "选择"))
2018-10-17 02:15:56 +08:00
self.label.setText(_translate("MainWindow", "目标数据HDF5存放目录"))
self.hdf5_enable_checkBox.setText(_translate("MainWindow", "保存至HDF5文件"))
2018-10-16 02:15:42 +08:00
self.groupBox_4.setTitle(_translate("MainWindow", "MYSQL保存数据设置"))
2018-10-17 02:15:56 +08:00
self.mysql_enable_checkBox.setText(_translate("MainWindow", "保存至MYSQL数据库"))
2018-10-16 02:15:42 +08:00
self.pushButton_5.setText(_translate("MainWindow", "测试数据库连接"))
self.label_4.setText(_translate("MainWindow", "ip地址"))
self.label_5.setText(_translate("MainWindow", "端口:"))
2018-11-02 01:42:27 +08:00
self.label_6.setText(_translate("MainWindow", "用户名:"))
self.label_7.setText(_translate("MainWindow", "密码:"))
2018-10-17 02:15:56 +08:00
self.groupBox_5.setTitle(_translate("MainWindow", "HDF5导入进展"))
2018-10-29 02:55:39 +08:00
self.label_8.setText(_translate("MainWindow", "导入日线:"))
self.label_12.setText(_translate("MainWindow", "导入5分钟线"))
2018-11-02 01:42:27 +08:00
self.label_14.setText(_translate("MainWindow", "导入1分钟线"))
self.label_9.setText(_translate("MainWindow", "导入权息数据:"))
self.hdf5_weight_label.setText(_translate("MainWindow", "TextLabel"))
2018-10-19 01:44:04 +08:00
self.groupBox_6.setTitle(_translate("MainWindow", "导入数据"))
self.import_day_checkBox.setText(_translate("MainWindow", "日线"))
2018-11-02 01:42:27 +08:00
self.import_min_checkBox.setText(_translate("MainWindow", "1分钟线"))
2018-10-19 01:44:04 +08:00
self.import_min5_checkBox.setText(_translate("MainWindow", "5分钟线"))
self.import_tick_checkBox.setText(_translate("MainWindow", "分笔"))
self.groupBox_7.setTitle(_translate("MainWindow", "导入行情"))
self.import_stock_checkBox.setText(_translate("MainWindow", "股票"))
self.import_fund_checkBox.setText(_translate("MainWindow", "基金"))
self.import_future_checkBox.setText(_translate("MainWindow", "期货"))
2018-10-27 22:59:39 +08:00
self.import_status_label.setText(_translate("MainWindow", "import_status_label"))
2018-10-17 02:15:56 +08:00
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "数据导入"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Tab 2"))
2018-10-15 01:40:20 +08:00