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

# Form implementation generated from reading ui file 'C:/Shaohui/OpenFoam/scripts/PyQtVTK/Ui_Files/Ui_createBox.ui'
#
# Created by: PyQt5 UI code generator 5.13.0
#
# WARNING! All changes made in this file will be lost!


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_createBox(object):
    def setupUi(self, createBox):
        createBox.setObjectName("createBox")
        createBox.resize(214, 155)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(createBox)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_3 = QtWidgets.QLabel(createBox)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
        self.label_5 = QtWidgets.QLabel(createBox)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 1, 0, 1, 1)
        self.boxNameInput = QtWidgets.QLineEdit(createBox)
        self.boxNameInput.setObjectName("boxNameInput")
        self.gridLayout.addWidget(self.boxNameInput, 0, 1, 1, 1)
        self.boxColorCombox = QtWidgets.QComboBox(createBox)
        self.boxColorCombox.setObjectName("boxColorCombox")
        self.boxColorCombox.addItem("")
        self.boxColorCombox.addItem("")
        self.boxColorCombox.addItem("")
        self.boxColorCombox.addItem("")
        self.boxColorCombox.addItem("")
        self.boxColorCombox.addItem("")
        self.boxColorCombox.addItem("")
        self.boxColorCombox.addItem("")
        self.boxColorCombox.addItem("")
        self.boxColorCombox.addItem("")
        self.boxColorCombox.addItem("")
        self.boxColorCombox.addItem("")
        self.boxColorCombox.addItem("")
        self.boxColorCombox.addItem("")
        self.boxColorCombox.addItem("")
        self.boxColorCombox.addItem("")
        self.gridLayout.addWidget(self.boxColorCombox, 1, 1, 1, 1)
        self.verticalLayout_3.addLayout(self.gridLayout)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_2 = QtWidgets.QLabel(createBox)
        self.label_2.setObjectName("label_2")
        self.verticalLayout.addWidget(self.label_2)
        self.label = QtWidgets.QLabel(createBox)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.horizontalLayout_4.addLayout(self.verticalLayout)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.boxLengthXInput = QtWidgets.QLineEdit(createBox)
        self.boxLengthXInput.setObjectName("boxLengthXInput")
        self.horizontalLayout_2.addWidget(self.boxLengthXInput)
        self.boxLengthYInput = QtWidgets.QLineEdit(createBox)
        self.boxLengthYInput.setObjectName("boxLengthYInput")
        self.horizontalLayout_2.addWidget(self.boxLengthYInput)
        self.boxLengthZInput = QtWidgets.QLineEdit(createBox)
        self.boxLengthZInput.setObjectName("boxLengthZInput")
        self.horizontalLayout_2.addWidget(self.boxLengthZInput)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.boxCenterXInput = QtWidgets.QLineEdit(createBox)
        self.boxCenterXInput.setObjectName("boxCenterXInput")
        self.horizontalLayout.addWidget(self.boxCenterXInput)
        self.boxCenterYInput = QtWidgets.QLineEdit(createBox)
        self.boxCenterYInput.setObjectName("boxCenterYInput")
        self.horizontalLayout.addWidget(self.boxCenterYInput)
        self.boxCenterZInput = QtWidgets.QLineEdit(createBox)
        self.boxCenterZInput.setObjectName("boxCenterZInput")
        self.horizontalLayout.addWidget(self.boxCenterZInput)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.horizontalLayout_4.addLayout(self.verticalLayout_2)
        self.verticalLayout_3.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.createBoxBtn = QtWidgets.QPushButton(createBox)
        self.createBoxBtn.setObjectName("createBoxBtn")
        self.horizontalLayout_3.addWidget(self.createBoxBtn)
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)

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

    def retranslateUi(self, createBox):
        _translate = QtCore.QCoreApplication.translate
        createBox.setWindowTitle(_translate("createBox", "Form"))
        self.label_3.setText(_translate("createBox", "Name"))
        self.label_5.setText(_translate("createBox", "Color"))
        self.boxNameInput.setText(_translate("createBox", "Box_1"))
        self.boxColorCombox.setItemText(0, _translate("createBox", "blue"))
        self.boxColorCombox.setItemText(1, _translate("createBox", "darkBlue"))
        self.boxColorCombox.setItemText(2, _translate("createBox", "gray"))
        self.boxColorCombox.setItemText(3, _translate("createBox", "darkGray"))
        self.boxColorCombox.setItemText(4, _translate("createBox", "lightGray"))
        self.boxColorCombox.setItemText(5, _translate("createBox", "green"))
        self.boxColorCombox.setItemText(6, _translate("createBox", "darkGreen"))
        self.boxColorCombox.setItemText(7, _translate("createBox", "cyan"))
        self.boxColorCombox.setItemText(8, _translate("createBox", "darkCyan"))
        self.boxColorCombox.setItemText(9, _translate("createBox", "red"))
        self.boxColorCombox.setItemText(10, _translate("createBox", "darkRed"))
        self.boxColorCombox.setItemText(11, _translate("createBox", "magenta"))
        self.boxColorCombox.setItemText(12, _translate("createBox", "darkMagenta"))
        self.boxColorCombox.setItemText(13, _translate("createBox", "white"))
        self.boxColorCombox.setItemText(14, _translate("createBox", "black"))
        self.boxColorCombox.setItemText(15, _translate("createBox", "PICK"))
        self.label_2.setText(_translate("createBox", "Size"))
        self.label.setText(_translate("createBox", "Center"))
        self.boxLengthXInput.setText(_translate("createBox", "1"))
        self.boxLengthYInput.setText(_translate("createBox", "1"))
        self.boxLengthZInput.setText(_translate("createBox", "1"))
        self.boxCenterXInput.setText(_translate("createBox", "0"))
        self.boxCenterYInput.setText(_translate("createBox", "0"))
        self.boxCenterZInput.setText(_translate("createBox", "0"))
        self.createBoxBtn.setText(_translate("createBox", "Create"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    createBox = QtWidgets.QWidget()
    ui = Ui_createBox()
    ui.setupUi(createBox)
    createBox.show()
    sys.exit(app.exec_())
