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-12-09 20:21:45 +08:00
MainWindow . resize ( 1011 , 559 )
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-11-25 16:46:07 +08:00
self . start_import_pushButton . setGeometry ( QtCore . QRect ( 510 , 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-12-09 20:21:45 +08:00
self . groupBox_2 . setGeometry ( QtCore . QRect ( 10 , 390 , 481 , 131 ) )
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-29 00:11:04 +08:00
self . layoutWidget . setGeometry ( QtCore . QRect ( 20 , 90 , 451 , 25 ) )
2018-10-17 02:15:56 +08:00
self . layoutWidget . setObjectName ( " layoutWidget " )
2018-11-22 01:21:28 +08:00
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-11-22 01:21:28 +08:00
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 , 1 , 1 , 2 )
self . label_2 = QtWidgets . QLabel ( self . layoutWidget )
2018-10-16 02:15:42 +08:00
self . label_2 . setObjectName ( " label_2 " )
2018-11-05 02:49:18 +08:00
self . gridLayout_2 . addWidget ( self . label_2 , 0 , 0 , 1 , 1 )
2018-11-22 01:21:28 +08:00
self . select_tdx_dir_pushButton = QtWidgets . QPushButton ( self . layoutWidget )
sizePolicy = QtWidgets . QSizePolicy ( QtWidgets . QSizePolicy . Preferred , QtWidgets . QSizePolicy . Fixed )
sizePolicy . setHorizontalStretch ( 0 )
sizePolicy . setVerticalStretch ( 0 )
sizePolicy . setHeightForWidth ( self . select_tdx_dir_pushButton . sizePolicy ( ) . hasHeightForWidth ( ) )
self . select_tdx_dir_pushButton . setSizePolicy ( sizePolicy )
self . select_tdx_dir_pushButton . setObjectName ( " select_tdx_dir_pushButton " )
self . gridLayout_2 . addWidget ( self . select_tdx_dir_pushButton , 0 , 3 , 1 , 1 )
self . tdx_radioButton = QtWidgets . QRadioButton ( self . groupBox_2 )
2018-11-29 00:11:04 +08:00
self . tdx_radioButton . setGeometry ( QtCore . QRect ( 20 , 70 , 481 , 16 ) )
2018-11-22 01:21:28 +08:00
self . tdx_radioButton . setObjectName ( " tdx_radioButton " )
2018-12-09 20:21:45 +08:00
self . layoutWidget1 = QtWidgets . QWidget ( self . groupBox_2 )
self . layoutWidget1 . setGeometry ( QtCore . QRect ( 20 , 30 , 371 , 22 ) )
self . layoutWidget1 . setObjectName ( " layoutWidget1 " )
self . horizontalLayout = QtWidgets . QHBoxLayout ( self . layoutWidget1 )
self . horizontalLayout . setContentsMargins ( 0 , 0 , 0 , 0 )
self . horizontalLayout . setObjectName ( " horizontalLayout " )
self . pytdx_radioButton = QtWidgets . QRadioButton ( self . layoutWidget1 )
self . pytdx_radioButton . setEnabled ( True )
self . pytdx_radioButton . setObjectName ( " pytdx_radioButton " )
self . horizontalLayout . addWidget ( self . pytdx_radioButton )
self . label_16 = QtWidgets . QLabel ( self . layoutWidget1 )
self . label_16 . setObjectName ( " label_16 " )
self . horizontalLayout . addWidget ( self . label_16 )
self . use_tdx_number_spinBox = QtWidgets . QSpinBox ( self . layoutWidget1 )
self . use_tdx_number_spinBox . setMinimum ( 1 )
self . use_tdx_number_spinBox . setMaximum ( 10 )
self . use_tdx_number_spinBox . setProperty ( " value " , 10 )
self . use_tdx_number_spinBox . setObjectName ( " use_tdx_number_spinBox " )
self . horizontalLayout . addWidget ( self . use_tdx_number_spinBox )
self . label_17 = QtWidgets . QLabel ( self . layoutWidget1 )
self . label_17 . setObjectName ( " label_17 " )
self . horizontalLayout . addWidget ( self . label_17 )
2018-10-17 02:15:56 +08:00
self . groupBox_3 = QtWidgets . QGroupBox ( self . tab )
2018-11-25 16:46:07 +08:00
self . groupBox_3 . setGeometry ( QtCore . QRect ( 10 , 20 , 481 , 71 ) )
2018-10-16 02:15:42 +08:00
self . groupBox_3 . setObjectName ( " groupBox_3 " )
2018-12-09 20:21:45 +08:00
self . layoutWidget2 = QtWidgets . QWidget ( self . groupBox_3 )
self . layoutWidget2 . setGeometry ( QtCore . QRect ( 20 , 30 , 451 , 25 ) )
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-12-09 20:21:45 +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-12-09 20:21:45 +08:00
self . hdf5_dir_pushButton = QtWidgets . QPushButton ( self . layoutWidget2 )
2018-10-18 01:31:15 +08:00
self . hdf5_dir_pushButton . setObjectName ( " hdf5_dir_pushButton " )
self . gridLayout_3 . addWidget ( self . hdf5_dir_pushButton , 0 , 2 , 1 , 1 )
2018-12-09 20:21:45 +08:00
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 . groupBox_5 = QtWidgets . QGroupBox ( self . tab )
2018-12-09 20:21:45 +08:00
self . groupBox_5 . setGeometry ( QtCore . QRect ( 510 , 70 , 481 , 451 ) )
2018-10-17 02:15:56 +08:00
self . groupBox_5 . setObjectName ( " groupBox_5 " )
2018-12-09 20:21:45 +08:00
self . layoutWidget3 = QtWidgets . QWidget ( self . groupBox_5 )
self . layoutWidget3 . setGeometry ( QtCore . QRect ( 10 , 20 , 461 , 151 ) )
self . layoutWidget3 . setObjectName ( " layoutWidget3 " )
self . gridLayout = QtWidgets . QGridLayout ( self . layoutWidget3 )
2018-10-17 02:15:56 +08:00
self . gridLayout . setContentsMargins ( 0 , 0 , 0 , 0 )
self . gridLayout . setObjectName ( " gridLayout " )
2018-12-09 20:21:45 +08:00
self . hdf5_trans_progressBar = QtWidgets . QProgressBar ( self . layoutWidget3 )
2018-11-25 16:46:07 +08:00
self . hdf5_trans_progressBar . setProperty ( " value " , 0 )
self . hdf5_trans_progressBar . setObjectName ( " hdf5_trans_progressBar " )
self . gridLayout . addWidget ( self . hdf5_trans_progressBar , 3 , 1 , 1 , 1 )
2018-12-09 20:21:45 +08:00
self . label_4 = QtWidgets . QLabel ( self . layoutWidget3 )
2018-11-25 16:46:07 +08:00
self . label_4 . setObjectName ( " label_4 " )
self . gridLayout . addWidget ( self . label_4 , 3 , 0 , 1 , 1 )
2018-12-09 20:21:45 +08:00
self . label_14 = QtWidgets . QLabel ( self . layoutWidget3 )
2018-11-02 01:42:27 +08:00
self . label_14 . setObjectName ( " label_14 " )
self . gridLayout . addWidget ( self . label_14 , 2 , 0 , 1 , 1 )
2018-12-09 20:21:45 +08:00
self . hdf5_5min_progressBar = QtWidgets . QProgressBar ( self . layoutWidget3 )
2018-10-30 02:13:43 +08:00
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-12-09 20:21:45 +08:00
self . hdf5_min_progressBar = QtWidgets . QProgressBar ( self . layoutWidget3 )
2018-11-25 16:46:07 +08:00
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-12-09 20:21:45 +08:00
self . hdf5_weight_label = QtWidgets . QLabel ( self . layoutWidget3 )
2018-11-25 16:46:07 +08:00
self . hdf5_weight_label . setObjectName ( " hdf5_weight_label " )
self . gridLayout . addWidget ( self . hdf5_weight_label , 5 , 1 , 1 , 1 )
2018-12-09 20:21:45 +08:00
self . label_8 = QtWidgets . QLabel ( self . layoutWidget3 )
2018-11-25 16:46:07 +08:00
self . label_8 . setObjectName ( " label_8 " )
self . gridLayout . addWidget ( self . label_8 , 0 , 0 , 1 , 1 )
2018-12-09 20:21:45 +08:00
self . label_12 = QtWidgets . QLabel ( self . layoutWidget3 )
2018-11-25 16:46:07 +08:00
self . label_12 . setObjectName ( " label_12 " )
self . gridLayout . addWidget ( self . label_12 , 1 , 0 , 1 , 1 )
2018-12-09 20:21:45 +08:00
self . hdf5_day_progressBar = QtWidgets . QProgressBar ( self . layoutWidget3 )
2018-11-02 01:42:27 +08:00
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 )
2018-12-09 20:21:45 +08:00
self . label_9 = QtWidgets . QLabel ( self . layoutWidget3 )
2018-11-02 01:42:27 +08:00
self . label_9 . setObjectName ( " label_9 " )
2018-11-25 16:46:07 +08:00
self . gridLayout . addWidget ( self . label_9 , 5 , 0 , 1 , 1 )
2018-12-09 20:21:45 +08:00
self . label_5 = QtWidgets . QLabel ( self . layoutWidget3 )
2018-11-25 16:46:07 +08:00
self . label_5 . setObjectName ( " label_5 " )
self . gridLayout . addWidget ( self . label_5 , 4 , 0 , 1 , 1 )
2018-12-09 20:21:45 +08:00
self . hdf5_time_progressBar = QtWidgets . QProgressBar ( self . layoutWidget3 )
2018-11-25 16:46:07 +08:00
self . hdf5_time_progressBar . setProperty ( " value " , 0 )
self . hdf5_time_progressBar . setObjectName ( " hdf5_time_progressBar " )
self . gridLayout . addWidget ( self . hdf5_time_progressBar , 4 , 1 , 1 , 1 )
2018-11-05 02:49:18 +08:00
self . import_detail_textEdit = QtWidgets . QTextEdit ( self . groupBox_5 )
2018-12-09 20:21:45 +08:00
self . import_detail_textEdit . setGeometry ( QtCore . QRect ( 10 , 180 , 461 , 261 ) )
2018-11-05 02:49:18 +08:00
self . import_detail_textEdit . setFrameShape ( QtWidgets . QFrame . NoFrame )
self . import_detail_textEdit . setReadOnly ( True )
self . import_detail_textEdit . setObjectName ( " import_detail_textEdit " )
self . groupBox_7 = QtWidgets . QGroupBox ( self . tab )
2018-12-09 20:21:45 +08:00
self . groupBox_7 . setGeometry ( QtCore . QRect ( 10 , 110 , 481 , 261 ) )
2018-11-05 02:49:18 +08:00
self . groupBox_7 . setObjectName ( " groupBox_7 " )
2018-12-09 20:21:45 +08:00
self . layoutWidget4 = QtWidgets . QWidget ( self . groupBox_7 )
self . layoutWidget4 . setGeometry ( QtCore . QRect ( 20 , 60 , 155 , 18 ) )
self . layoutWidget4 . setObjectName ( " layoutWidget4 " )
self . horizontalLayout_3 = QtWidgets . QHBoxLayout ( self . layoutWidget4 )
2018-11-05 02:49:18 +08:00
self . horizontalLayout_3 . setContentsMargins ( 0 , 0 , 0 , 0 )
self . horizontalLayout_3 . setObjectName ( " horizontalLayout_3 " )
2018-12-09 20:21:45 +08:00
self . import_stock_checkBox = QtWidgets . QCheckBox ( self . layoutWidget4 )
2018-11-05 02:49:18 +08:00
self . import_stock_checkBox . setObjectName ( " import_stock_checkBox " )
self . horizontalLayout_3 . addWidget ( self . import_stock_checkBox )
2018-12-09 20:21:45 +08:00
self . import_fund_checkBox = QtWidgets . QCheckBox ( self . layoutWidget4 )
2018-11-05 02:49:18 +08:00
self . import_fund_checkBox . setObjectName ( " import_fund_checkBox " )
self . horizontalLayout_3 . addWidget ( self . import_fund_checkBox )
2018-12-09 20:21:45 +08:00
self . import_future_checkBox = QtWidgets . QCheckBox ( self . layoutWidget4 )
2018-11-05 02:49:18 +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-12-09 20:21:45 +08:00
self . layoutWidget5 = QtWidgets . QWidget ( self . groupBox_7 )
self . layoutWidget5 . setGeometry ( QtCore . QRect ( 20 , 90 , 297 , 18 ) )
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-12-09 20:21:45 +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-12-09 20:21:45 +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-12-09 20:21:45 +08:00
self . import_min_checkBox = QtWidgets . QCheckBox ( self . layoutWidget5 )
self . import_min_checkBox . setObjectName ( " import_min_checkBox " )
self . horizontalLayout_2 . addWidget ( self . import_min_checkBox )
self . import_trans_checkBox = QtWidgets . QCheckBox ( self . layoutWidget5 )
2018-11-25 16:46:07 +08:00
self . import_trans_checkBox . setEnabled ( True )
self . import_trans_checkBox . setObjectName ( " import_trans_checkBox " )
self . horizontalLayout_2 . addWidget ( self . import_trans_checkBox )
2018-12-09 20:21:45 +08:00
self . import_time_checkBox = QtWidgets . QCheckBox ( self . layoutWidget5 )
2018-11-25 16:46:07 +08:00
self . import_time_checkBox . setEnabled ( True )
self . import_time_checkBox . setObjectName ( " import_time_checkBox " )
self . horizontalLayout_2 . addWidget ( self . import_time_checkBox )
2018-11-05 02:49:18 +08:00
self . import_weight_checkBox = QtWidgets . QCheckBox ( self . groupBox_7 )
2018-11-22 01:21:28 +08:00
self . import_weight_checkBox . setGeometry ( QtCore . QRect ( 20 , 30 , 151 , 16 ) )
2018-11-05 02:49:18 +08:00
self . import_weight_checkBox . setObjectName ( " import_weight_checkBox " )
2018-12-09 20:21:45 +08:00
self . layoutWidget6 = QtWidgets . QWidget ( self . groupBox_7 )
self . layoutWidget6 . setGeometry ( QtCore . QRect ( 20 , 120 , 271 , 126 ) )
self . layoutWidget6 . setObjectName ( " layoutWidget6 " )
self . gridLayout_4 = QtWidgets . QGridLayout ( self . layoutWidget6 )
2018-11-25 16:46:07 +08:00
self . gridLayout_4 . setContentsMargins ( 0 , 0 , 0 , 0 )
self . gridLayout_4 . setObjectName ( " gridLayout_4 " )
2018-12-09 20:21:45 +08:00
self . label_15 = QtWidgets . QLabel ( self . layoutWidget6 )
self . label_15 . setObjectName ( " label_15 " )
self . gridLayout_4 . addWidget ( self . label_15 , 2 , 0 , 1 , 1 )
self . label_10 = QtWidgets . QLabel ( self . layoutWidget6 )
self . label_10 . setObjectName ( " label_10 " )
self . gridLayout_4 . addWidget ( self . label_10 , 1 , 0 , 1 , 1 )
self . label_3 = QtWidgets . QLabel ( self . layoutWidget6 )
self . label_3 . setObjectName ( " label_3 " )
self . gridLayout_4 . addWidget ( self . label_3 , 0 , 0 , 1 , 1 )
self . min_start_dateEdit = QtWidgets . QDateEdit ( self . layoutWidget6 )
self . min_start_dateEdit . setCalendarPopup ( True )
self . min_start_dateEdit . setObjectName ( " min_start_dateEdit " )
self . gridLayout_4 . addWidget ( self . min_start_dateEdit , 2 , 1 , 1 , 1 )
self . min5_start_dateEdit = QtWidgets . QDateEdit ( self . layoutWidget6 )
self . min5_start_dateEdit . setMinimumDateTime ( QtCore . QDateTime ( QtCore . QDate ( 1990 , 1 , 1 ) , QtCore . QTime ( 0 , 0 , 0 ) ) )
self . min5_start_dateEdit . setCalendarPopup ( True )
self . min5_start_dateEdit . setObjectName ( " min5_start_dateEdit " )
self . gridLayout_4 . addWidget ( self . min5_start_dateEdit , 1 , 1 , 1 , 1 )
self . label_7 = QtWidgets . QLabel ( self . layoutWidget6 )
2018-11-25 16:46:07 +08:00
self . label_7 . setObjectName ( " label_7 " )
2018-12-09 20:21:45 +08:00
self . gridLayout_4 . addWidget ( self . label_7 , 4 , 0 , 1 , 1 )
self . label_6 = QtWidgets . QLabel ( self . layoutWidget6 )
2018-11-25 16:46:07 +08:00
self . label_6 . setObjectName ( " label_6 " )
2018-12-09 20:21:45 +08:00
self . gridLayout_4 . addWidget ( self . label_6 , 3 , 0 , 1 , 1 )
self . day_start_dateEdit = QtWidgets . QDateEdit ( self . layoutWidget6 )
self . day_start_dateEdit . setMinimumDateTime ( QtCore . QDateTime ( QtCore . QDate ( 1990 , 1 , 1 ) , QtCore . QTime ( 0 , 0 , 0 ) ) )
self . day_start_dateEdit . setCalendarPopup ( True )
self . day_start_dateEdit . setObjectName ( " day_start_dateEdit " )
self . gridLayout_4 . addWidget ( self . day_start_dateEdit , 0 , 1 , 1 , 1 )
self . trans_start_dateEdit = QtWidgets . QDateEdit ( self . layoutWidget6 )
self . trans_start_dateEdit . setCalendarPopup ( True )
self . trans_start_dateEdit . setObjectName ( " trans_start_dateEdit " )
self . gridLayout_4 . addWidget ( self . trans_start_dateEdit , 3 , 1 , 1 , 1 )
self . time_start_dateEdit = QtWidgets . QDateEdit ( self . layoutWidget6 )
self . time_start_dateEdit . setCalendarPopup ( True )
self . time_start_dateEdit . setObjectName ( " time_start_dateEdit " )
self . gridLayout_4 . addWidget ( self . time_start_dateEdit , 4 , 1 , 1 , 1 )
2018-10-27 22:59:39 +08:00
self . import_status_label = QtWidgets . QLabel ( self . tab )
2018-11-25 16:46:07 +08:00
self . import_status_label . setGeometry ( QtCore . QRect ( 620 , 30 , 361 , 21 ) )
2018-10-27 22:59:39 +08:00
self . import_status_label . setObjectName ( " import_status_label " )
2018-10-17 02:15:56 +08:00
self . tabWidget . addTab ( self . tab , " " )
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-11-05 02:49:18 +08:00
self . groupBox_2 . setTitle ( _translate ( " MainWindow " , " 数据源设置 " ) )
2018-10-17 02:15:56 +08:00
self . label_2 . setText ( _translate ( " MainWindow " , " 通达信安装目录: " ) )
2018-11-22 01:21:28 +08:00
self . select_tdx_dir_pushButton . setText ( _translate ( " MainWindow " , " 选择 " ) )
2018-11-29 00:11:04 +08:00
self . tdx_radioButton . setText ( _translate ( " MainWindow " , " 使用通达信盘后数据(不支持分笔、分时数据,需要配置安装路径) " ) )
2018-12-09 20:21:45 +08:00
self . pytdx_radioButton . setText ( _translate ( " MainWindow " , " 使用Pytdx( 推荐) " ) )
self . label_16 . setText ( _translate ( " MainWindow " , " 同时使用 " ) )
self . label_17 . setText ( _translate ( " MainWindow " , " 个通达信服务器进行下载 " ) )
2018-11-25 16:46:07 +08:00
self . groupBox_3 . setTitle ( _translate ( " MainWindow " , " 数据保存设置 " ) )
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) 存放目录: " ) )
2018-11-26 03:49:20 +08:00
self . groupBox_5 . setTitle ( _translate ( " MainWindow " , " 导入进展 " ) )
2018-11-25 16:46:07 +08:00
self . label_4 . setText ( _translate ( " MainWindow " , " 导入分笔数据: " ) )
self . label_14 . setText ( _translate ( " MainWindow " , " 导入1分钟线: " ) )
self . hdf5_weight_label . setText ( _translate ( " MainWindow " , " TextLabel " ) )
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_9 . setText ( _translate ( " MainWindow " , " 导入权息数据: " ) )
2018-11-25 16:46:07 +08:00
self . label_5 . setText ( _translate ( " MainWindow " , " 导入分时数据: " ) )
2018-11-05 02:49:18 +08:00
self . import_detail_textEdit . setHtml ( _translate ( " MainWindow " , " <!DOCTYPE HTML PUBLIC \" -//W3C//DTD HTML 4.0//EN \" \" http://www.w3.org/TR/REC-html40/strict.dtd \" > \n "
" <html><head><meta name= \" qrichtext \" content= \" 1 \" /><style type= \" text/css \" > \n "
" p, li { white-space: pre-wrap; } \n "
" </style></head><body style= \" font-family: \' SimSun \' ; font-size:9pt; font-weight:400; font-style:normal; \" > \n "
" <p style= \" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \" >导入上证日线记录:</p> \n "
" <p style= \" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \" >导入深证日线记录:</p> \n "
" <p style= \" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \" >导入上证5分钟线记录: </p> \n "
" <p style= \" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \" >导入深证5分钟线记录: </p> \n "
" <p style= \" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \" >导入上证1分钟线记录: </p> \n "
" <p style= \" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \" >导入深证1分钟线记录: </p> \n "
2018-11-25 16:46:07 +08:00
" <p style= \" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \" >导入上证分笔记录:</p> \n "
" <p style= \" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \" >导入深证分笔记录:</p> \n "
" <p style= \" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \" >导入上证分时数据:</p> \n "
" <p style= \" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \" >导入深证分时数据:</p> \n "
2018-11-05 02:49:18 +08:00
" <p style= \" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \" >导入权息数据数:</p> \n "
" <p style= \" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \" >导入完毕!</p></body></html> " ) )
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-19 01:44:04 +08:00
self . import_day_checkBox . setText ( _translate ( " MainWindow " , " 日线 " ) )
self . import_min5_checkBox . setText ( _translate ( " MainWindow " , " 5分钟线 " ) )
2018-12-09 20:21:45 +08:00
self . import_min_checkBox . setText ( _translate ( " MainWindow " , " 1分钟线 " ) )
2018-11-25 16:46:07 +08:00
self . import_trans_checkBox . setText ( _translate ( " MainWindow " , " 分笔 " ) )
self . import_time_checkBox . setText ( _translate ( " MainWindow " , " 分时 " ) )
2018-11-05 02:49:18 +08:00
self . import_weight_checkBox . setText ( _translate ( " MainWindow " , " 下载并导入钱龙权息数据 " ) )
2018-12-09 20:21:45 +08:00
self . label_15 . setText ( _translate ( " MainWindow " , " 初次导入1分钟线起始日期: " ) )
self . label_10 . setText ( _translate ( " MainWindow " , " 初次导入5分钟线起始日期: " ) )
self . label_3 . setText ( _translate ( " MainWindow " , " 初次导入日线起始日期: " ) )
self . label_7 . setText ( _translate ( " MainWindow " , " 初次导入分时起始日期: " ) )
self . label_6 . 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 " , " 数据导入 " ) )
2018-10-15 01:40:20 +08:00