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

# Form implementation generated from reading ui file 'data_import_oracle.ui'
#
# Created by: PyQt5 UI code generator 5.15.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.

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


class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(681, 450)
        Form.setMinimumSize(QtCore.QSize(500, 400))
        Form.setMaximumSize(QtCore.QSize(16777215, 16777215))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/color/source/theme/color/icons/oracle.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        Form.setWindowIcon(icon)
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setObjectName("verticalLayout")
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.label_nettype = QtWidgets.QLabel(Form)
        self.label_nettype.setObjectName("label_nettype")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_nettype)
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.comboBox_database = QtWidgets.QComboBox(Form)
        self.comboBox_database.setMinimumSize(QtCore.QSize(200, 0))
        self.comboBox_database.setObjectName("comboBox_database")
        self.comboBox_database.addItem("")
        self.horizontalLayout_8.addWidget(self.comboBox_database)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem)
        self.formLayout.setLayout(0, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_8)
        self.label_username = QtWidgets.QLabel(Form)
        self.label_username.setObjectName("label_username")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_username)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.lineEdit_user = QtWidgets.QLineEdit(Form)
        self.lineEdit_user.setInputMask("")
        self.lineEdit_user.setObjectName("lineEdit_user")
        self.horizontalLayout_7.addWidget(self.lineEdit_user)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem1)
        self.formLayout.setLayout(2, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_7)
        self.label_password = QtWidgets.QLabel(Form)
        self.label_password.setObjectName("label_password")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_password)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.lineEdit_passwd = PasswordEdit(Form)
        self.lineEdit_passwd.setObjectName("lineEdit_passwd")
        self.horizontalLayout_6.addWidget(self.lineEdit_passwd)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem2)
        self.formLayout.setLayout(3, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_6)
        spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.formLayout.setItem(7, QtWidgets.QFormLayout.FieldRole, spacerItem3)
        self.label_ip = QtWidgets.QLabel(Form)
        self.label_ip.setObjectName("label_ip")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_ip)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.lineEdit_host = QtWidgets.QLineEdit(Form)
        self.lineEdit_host.setObjectName("lineEdit_host")
        self.horizontalLayout_4.addWidget(self.lineEdit_host)
        self.label_port = QtWidgets.QLabel(Form)
        self.label_port.setObjectName("label_port")
        self.horizontalLayout_4.addWidget(self.label_port)
        self.spinBox_port = QtWidgets.QSpinBox(Form)
        self.spinBox_port.setMaximum(999999)
        self.spinBox_port.setProperty("value", 1521)
        self.spinBox_port.setObjectName("spinBox_port")
        self.horizontalLayout_4.addWidget(self.spinBox_port)
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem4)
        self.formLayout.setLayout(1, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_4)
        self.label_database = QtWidgets.QLabel(Form)
        self.label_database.setObjectName("label_database")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.label_database)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.lineEdit_db = QtWidgets.QLineEdit(Form)
        self.lineEdit_db.setObjectName("lineEdit_db")
        self.horizontalLayout_3.addWidget(self.lineEdit_db)
        spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem5)
        self.formLayout.setLayout(4, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_3)
        self.label_database_2 = QtWidgets.QLabel(Form)
        self.label_database_2.setObjectName("label_database_2")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.label_database_2)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.lineEdit_table = QtWidgets.QLineEdit(Form)
        self.lineEdit_table.setObjectName("lineEdit_table")
        self.horizontalLayout_2.addWidget(self.lineEdit_table)
        spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem6)
        self.formLayout.setLayout(5, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_2)
        self.verticalLayout.addLayout(self.formLayout)
        self.label_test = QtWidgets.QLabel(Form)
        self.label_test.setObjectName("label_test")
        self.verticalLayout.addWidget(self.label_test)
        self.widget = QtWidgets.QWidget(Form)
        self.widget.setMaximumSize(QtCore.QSize(16777215, 50))
        self.widget.setObjectName("widget")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.widget)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.pushButton_test = QtWidgets.QPushButton(self.widget)
        self.pushButton_test.setObjectName("pushButton_test")
        self.horizontalLayout.addWidget(self.pushButton_test)
        spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem7)
        self.pushButton_ok = QtWidgets.QPushButton(self.widget)
        self.pushButton_ok.setObjectName("pushButton_ok")
        self.horizontalLayout.addWidget(self.pushButton_ok)
        self.pushButton_cancel = QtWidgets.QPushButton(self.widget)
        self.pushButton_cancel.setObjectName("pushButton_cancel")
        self.horizontalLayout.addWidget(self.pushButton_cancel)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.verticalLayout.addWidget(self.widget)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "从数据库导入"))
        self.label_nettype.setText(_translate("Form", "数据库类型："))
        self.comboBox_database.setItemText(0, _translate("Form", "Oracle"))
        self.label_username.setText(_translate("Form", "用户名："))
        self.lineEdit_user.setText(_translate("Form", "SCOTT"))
        self.lineEdit_user.setPlaceholderText(_translate("Form", "账户名称"))
        self.label_password.setText(_translate("Form", "密码："))
        self.lineEdit_passwd.setPlaceholderText(_translate("Form", "账户密码"))
        self.label_ip.setText(_translate("Form", "主机名/IP地址："))
        self.lineEdit_host.setText(_translate("Form", "127.0.0.1"))
        self.lineEdit_host.setPlaceholderText(_translate("Form", "数据库地址"))
        self.label_port.setText(_translate("Form", "端口："))
        self.label_database.setText(_translate("Form", "数据库："))
        self.lineEdit_db.setText(_translate("Form", "ORCL"))
        self.lineEdit_db.setPlaceholderText(_translate("Form", "数据库名"))
        self.label_database_2.setText(_translate("Form", "表名："))
        self.lineEdit_table.setText(_translate("Form", "EMP"))
        self.lineEdit_table.setPlaceholderText(_translate("Form", "要导入的表名"))
        self.label_test.setText(_translate("Form", "等待连接"))
        self.pushButton_test.setText(_translate("Form", "测试连接"))
        self.pushButton_ok.setText(_translate("Form", "确定"))
        self.pushButton_cancel.setText(_translate("Form", "取消"))
from .password import PasswordEdit
import pyqtsource_rc
