# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'data_import_stata.ui'
#
# Created by: PyQt5 UI code generator 5.12.3
#
# WARNING! All changes made in this file will be lost!

from PySide2 import QtCore, QtGui, QtWidgets
# from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_Form(object):
    def setupUi(self, Form):
        self.encode_type = ["utf8", "gb2312", "gbk", "ascii"]
        Form.setObjectName("Form")
        Form.resize(800, 600)
        Form.setMinimumSize(QtCore.QSize(800, 600))
        Form.setMaximumSize(QtCore.QSize(16777215, 16777215))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/color/source/theme/color/icons/stata.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        Form.setWindowIcon(icon)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_8 = QtWidgets.QLabel(Form)
        self.label_8.setMinimumSize(QtCore.QSize(0, 25))
        self.label_8.setObjectName("label_8")
        self.horizontalLayout.addWidget(self.label_8)
        self.lineEdit_filePath = QtWidgets.QLineEdit(Form)
        self.lineEdit_filePath.setMinimumSize(QtCore.QSize(0, 25))
        self.lineEdit_filePath.setObjectName("lineEdit_filePath")
        self.horizontalLayout.addWidget(self.lineEdit_filePath)
        self.pushButton_choosefile = QtWidgets.QPushButton(Form)
        self.pushButton_choosefile.setMinimumSize(QtCore.QSize(0, 25))
        self.pushButton_choosefile.setObjectName("pushButton_choosefile")
        self.horizontalLayout.addWidget(self.pushButton_choosefile)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.label = QtWidgets.QLabel(Form)
        self.label.setObjectName("label")
        self.verticalLayout_3.addWidget(self.label)
        self.tableWidget_previewData = QtWidgets.QTableWidget(Form)
        self.tableWidget_previewData.setObjectName("tableWidget_previewData")
        self.tableWidget_previewData.setColumnCount(0)
        self.tableWidget_previewData.setRowCount(0)
        self.verticalLayout_3.addWidget(self.tableWidget_previewData)
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_6 = QtWidgets.QLabel(Form)
        self.label_6.setMinimumSize(QtCore.QSize(0, 25))
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_2.addWidget(self.label_6)
        self.lineEdit_datasetName = QtWidgets.QLineEdit(Form)
        self.lineEdit_datasetName.setMinimumSize(QtCore.QSize(150, 25))
        self.lineEdit_datasetName.setMaximumSize(QtCore.QSize(150, 16777215))
        self.lineEdit_datasetName.setText("")
        self.lineEdit_datasetName.setObjectName("lineEdit_datasetName")
        self.horizontalLayout_2.addWidget(self.lineEdit_datasetName)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_3 = QtWidgets.QLabel(Form)
        self.label_3.setMinimumSize(QtCore.QSize(0, 25))
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_3.addWidget(self.label_3)
        self.spinBox_passHead = QtWidgets.QSpinBox(Form)
        self.spinBox_passHead.setMinimumSize(QtCore.QSize(150, 0))
        self.spinBox_passHead.setMaximumSize(QtCore.QSize(150, 16777215))
        self.spinBox_passHead.setMaximum(1000000000)
        self.spinBox_passHead.setObjectName("spinBox_passHead")
        self.horizontalLayout_3.addWidget(self.spinBox_passHead)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_4 = QtWidgets.QLabel(Form)
        self.label_4.setMinimumSize(QtCore.QSize(0, 25))
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_4.addWidget(self.label_4)
        self.spinBox_limitRow = QtWidgets.QSpinBox(Form)
        self.spinBox_limitRow.setMinimumSize(QtCore.QSize(150, 0))
        self.spinBox_limitRow.setMaximumSize(QtCore.QSize(150, 16777215))
        self.spinBox_limitRow.setMaximum(1000000000)
        self.spinBox_limitRow.setObjectName("spinBox_limitRow")
        self.horizontalLayout_4.addWidget(self.spinBox_limitRow)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem2)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_9.addLayout(self.verticalLayout)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.label_2 = QtWidgets.QLabel(Form)
        self.label_2.setMinimumSize(QtCore.QSize(0, 25))
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_6.addWidget(self.label_2)
        self.comboBox_var_name = QtWidgets.QComboBox(Form)
        self.comboBox_var_name.setMinimumSize(QtCore.QSize(150, 25))
        self.comboBox_var_name.setMaximumSize(QtCore.QSize(150, 16777215))
        self.comboBox_var_name.setObjectName("comboBox_var_name")
        self.horizontalLayout_6.addWidget(self.comboBox_var_name)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem3)
        self.verticalLayout_2.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_5 = QtWidgets.QLabel(Form)
        self.label_5.setMinimumSize(QtCore.QSize(0, 25))
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_5.addWidget(self.label_5)
        self.comboBox_encode = QtWidgets.QComboBox(Form)
        self.comboBox_encode.setMinimumSize(QtCore.QSize(150, 25))
        self.comboBox_encode.setMaximumSize(QtCore.QSize(100, 16777215))
        self.comboBox_encode.setObjectName("comboBox_encode")
        for encode_i in self.encode_type:
            self.comboBox_encode.addItem("")
        self.horizontalLayout_5.addWidget(self.comboBox_encode)
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem4)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.label_7 = QtWidgets.QLabel(Form)
        self.label_7.setMinimumSize(QtCore.QSize(0, 25))
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_7.addWidget(self.label_7)
        self.lineEdit_missValue = QtWidgets.QLineEdit(Form)
        self.lineEdit_missValue.setMinimumSize(QtCore.QSize(150, 25))
        self.lineEdit_missValue.setMaximumSize(QtCore.QSize(150, 16777215))
        self.lineEdit_missValue.setObjectName("lineEdit_missValue")
        self.horizontalLayout_7.addWidget(self.lineEdit_missValue)
        spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem5)
        self.verticalLayout_2.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_9.addLayout(self.verticalLayout_2)
        spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_9.addItem(spacerItem6)
        self.verticalLayout_3.addLayout(self.horizontalLayout_9)
        self.widget = QtWidgets.QWidget(Form)
        self.widget.setMinimumSize(QtCore.QSize(50, 0))
        self.widget.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.widget.setObjectName("widget")
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout(self.widget)
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.pushButton_help = QtWidgets.QPushButton(self.widget)
        self.pushButton_help.setMinimumSize(QtCore.QSize(0, 25))
        self.pushButton_help.setObjectName("pushButton_help")
        self.horizontalLayout_8.addWidget(self.pushButton_help)
        spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem7)
        self.pushButton_preview = QtWidgets.QPushButton(self.widget)
        self.pushButton_preview.setMinimumSize(QtCore.QSize(0, 25))
        self.pushButton_preview.setObjectName("pushButton_preview")
        self.horizontalLayout_8.addWidget(self.pushButton_preview)
        self.pushButton_all = QtWidgets.QPushButton(self.widget)
        self.pushButton_all.setMinimumSize(QtCore.QSize(0, 25))
        self.pushButton_all.setObjectName("pushButton_all")
        self.horizontalLayout_8.addWidget(self.pushButton_all)
        self.pushButton_ok = QtWidgets.QPushButton(self.widget)
        self.pushButton_ok.setMinimumSize(QtCore.QSize(0, 25))
        self.pushButton_ok.setObjectName("pushButton_ok")
        self.horizontalLayout_8.addWidget(self.pushButton_ok)
        self.pushButton_cancel = QtWidgets.QPushButton(self.widget)
        self.pushButton_cancel.setMinimumSize(QtCore.QSize(0, 25))
        self.pushButton_cancel.setObjectName("pushButton_cancel")
        self.horizontalLayout_8.addWidget(self.pushButton_cancel)
        self.horizontalLayout_10.addLayout(self.horizontalLayout_8)
        self.verticalLayout_3.addWidget(self.widget)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "导入STATA数据"))
        self.label_8.setText(_translate("Form", "选择数据集："))
        self.pushButton_choosefile.setText(_translate("Form", "浏览"))
        self.label.setText(_translate("Form", "文件预览"))
        self.label_6.setText(_translate("Form", "数据集名："))
        self.label_3.setText(_translate("Form", "前端跳过："))
        self.spinBox_passHead.setToolTip(_translate("Form", "导入时数据前端跳过的行数，0为不跳过"))
        self.label_4.setText(_translate("Form", "限定行数："))
        self.spinBox_limitRow.setToolTip(_translate("Form", "限制导入的行数，0为不限"))
        self.label_2.setText(_translate("Form", "变量名称："))
        self.label_5.setText(_translate("Form", "文件编码："))
        for i, encode_i in enumerate(self.encode_type):
            self.comboBox_encode.setItemText(i, _translate("Form", encode_i))
        self.label_7.setText(_translate("Form", "缺 失 值："))
        self.lineEdit_missValue.setText(_translate("Form", "默认"))
        self.pushButton_help.setText(_translate("Form", "帮助"))
        self.pushButton_preview.setText(_translate("Form", "预览"))
        self.pushButton_all.setToolTip(_translate("Form", "导入全部数据到工作空间"))
        self.pushButton_all.setText(_translate("Form", "全部导入"))
        self.pushButton_ok.setToolTip(_translate("Form", "导入当前数据到工作区间"))
        self.pushButton_ok.setText(_translate("Form", "确定"))
        self.pushButton_cancel.setText(_translate("Form", "取消"))
import pyqtsource_rc
