# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'createui.ui' # # Created by: PyQt5 UI code generator 5.15.7 # # 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 PyQt5 import QtCore, QtGui, QtWidgets class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(255, 286) Dialog.setModal(True) self.gridLayout = QtWidgets.QGridLayout(Dialog) self.gridLayout.setObjectName("gridLayout") self.verticalLayout_5 = QtWidgets.QVBoxLayout() self.verticalLayout_5.setObjectName("verticalLayout_5") spacerItem = QtWidgets.QSpacerItem(248, 17, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.verticalLayout_5.addItem(spacerItem) self.horizontalLayout_6 = QtWidgets.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") spacerItem1 = QtWidgets.QSpacerItem(20, 238, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.horizontalLayout_6.addItem(spacerItem1) self.verticalLayout_4 = QtWidgets.QVBoxLayout() self.verticalLayout_4.setObjectName("verticalLayout_4") self.verticalLayout_3 = QtWidgets.QVBoxLayout() self.verticalLayout_3.setObjectName("verticalLayout_3") self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.label_5 = QtWidgets.QLabel(Dialog) self.label_5.setMaximumSize(QtCore.QSize(34, 16)) self.label_5.setObjectName("label_5") self.horizontalLayout_5.addWidget(self.label_5) self.comboBox_category = QtWidgets.QComboBox(Dialog) self.comboBox_category.setMinimumSize(QtCore.QSize(141, 31)) self.comboBox_category.setMaximumSize(QtCore.QSize(141, 31)) self.comboBox_category.setObjectName("comboBox_category") self.comboBox_category.addItem("") self.comboBox_category.addItem("") self.comboBox_category.addItem("") self.comboBox_category.addItem("") self.horizontalLayout_5.addWidget(self.comboBox_category) self.verticalLayout.addLayout(self.horizontalLayout_5) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label = QtWidgets.QLabel(Dialog) self.label.setObjectName("label") self.horizontalLayout.addWidget(self.label) self.textEdit_item = QtWidgets.QTextEdit(Dialog) self.textEdit_item.setMinimumSize(QtCore.QSize(141, 31)) self.textEdit_item.setMaximumSize(QtCore.QSize(141, 31)) self.textEdit_item.setObjectName("textEdit_item") self.horizontalLayout.addWidget(self.textEdit_item) self.verticalLayout.addLayout(self.horizontalLayout) self.verticalLayout_3.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.label_2 = QtWidgets.QLabel(Dialog) self.label_2.setObjectName("label_2") self.horizontalLayout_2.addWidget(self.label_2) self.textEdit_account = QtWidgets.QTextEdit(Dialog) self.textEdit_account.setMinimumSize(QtCore.QSize(141, 31)) self.textEdit_account.setMaximumSize(QtCore.QSize(141, 31)) self.textEdit_account.setObjectName("textEdit_account") self.horizontalLayout_2.addWidget(self.textEdit_account) self.verticalLayout_2.addLayout(self.horizontalLayout_2) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label_3 = QtWidgets.QLabel(Dialog) self.label_3.setObjectName("label_3") self.horizontalLayout_3.addWidget(self.label_3) self.textEdit_location = QtWidgets.QTextEdit(Dialog) self.textEdit_location.setMinimumSize(QtCore.QSize(141, 31)) self.textEdit_location.setMaximumSize(QtCore.QSize(141, 31)) self.textEdit_location.setObjectName("textEdit_location") self.horizontalLayout_3.addWidget(self.textEdit_location) self.verticalLayout_2.addLayout(self.horizontalLayout_3) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.label_4 = QtWidgets.QLabel(Dialog) self.label_4.setObjectName("label_4") self.horizontalLayout_4.addWidget(self.label_4) self.textEdit_image = QtWidgets.QTextEdit(Dialog) self.textEdit_image.setMinimumSize(QtCore.QSize(141, 31)) self.textEdit_image.setMaximumSize(QtCore.QSize(141, 31)) self.textEdit_image.setObjectName("textEdit_image") self.horizontalLayout_4.addWidget(self.textEdit_image) self.verticalLayout_2.addLayout(self.horizontalLayout_4) self.verticalLayout_3.addLayout(self.verticalLayout_2) self.verticalLayout_4.addLayout(self.verticalLayout_3) self.buttonBox = QtWidgets.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setObjectName("buttonBox") self.verticalLayout_4.addWidget(self.buttonBox) self.horizontalLayout_6.addLayout(self.verticalLayout_4) spacerItem2 = QtWidgets.QSpacerItem(17, 17, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_6.addItem(spacerItem2) self.verticalLayout_5.addLayout(self.horizontalLayout_6) self.gridLayout.addLayout(self.verticalLayout_5, 0, 0, 1, 1) self.retranslateUi(Dialog) self.buttonBox.accepted.connect(Dialog.accept) # type: ignore self.buttonBox.rejected.connect(Dialog.reject) # type: ignore QtCore.QMetaObject.connectSlotsByName(Dialog) def retranslateUi(self, Dialog): _translate = QtCore.QCoreApplication.translate Dialog.setWindowTitle(_translate("Dialog", "創建")) self.label_5.setText(_translate("Dialog", "類別:")) self.comboBox_category.setItemText(0, _translate("Dialog", "電料類")) self.comboBox_category.setItemText(1, _translate("Dialog", "線材類")) self.comboBox_category.setItemText(2, _translate("Dialog", "螺絲類")) self.comboBox_category.setItemText(3, _translate("Dialog", "相機類")) self.label.setText(_translate("Dialog", "項目:")) self.label_2.setText(_translate("Dialog", "數量:")) self.label_3.setText(_translate("Dialog", "位置:")) self.label_4.setText(_translate("Dialog", "圖片:"))