Python/pyqt5/CODE/VIP_WMS_pyAPI/UI/delete/deleteui.py
2024-06-25 22:02:02 +08:00

81 lines
4.1 KiB
Python

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'deleteui.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(293, 145)
self.gridLayout_2 = QtWidgets.QGridLayout(Dialog)
self.gridLayout_2.setObjectName("gridLayout_2")
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
spacerItem = QtWidgets.QSpacerItem(20, 198, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.horizontalLayout_4.addItem(spacerItem)
self.gridLayout = QtWidgets.QGridLayout()
self.gridLayout.setObjectName("gridLayout")
spacerItem1 = QtWidgets.QSpacerItem(378, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem1, 0, 0, 1, 1)
self.verticalLayout_4 = QtWidgets.QVBoxLayout()
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.label_3 = QtWidgets.QLabel(Dialog)
self.label_3.setObjectName("label_3")
self.verticalLayout_2.addWidget(self.label_3)
self.label_4 = QtWidgets.QLabel(Dialog)
self.label_4.setObjectName("label_4")
self.verticalLayout_2.addWidget(self.label_4)
self.horizontalLayout_3.addLayout(self.verticalLayout_2)
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.comboBox_category = QtWidgets.QComboBox(Dialog)
self.comboBox_category.setMinimumSize(QtCore.QSize(131, 22))
self.comboBox_category.setMaximumSize(QtCore.QSize(131, 22))
self.comboBox_category.setObjectName("comboBox_category")
self.comboBox_category.addItem("")
self.comboBox_category.addItem("")
self.comboBox_category.addItem("")
self.comboBox_category.addItem("")
self.verticalLayout_3.addWidget(self.comboBox_category)
self.comboBox_item = QtWidgets.QComboBox(Dialog)
self.comboBox_item.setMinimumSize(QtCore.QSize(191, 22))
self.comboBox_item.setObjectName("comboBox_item")
self.verticalLayout_3.addWidget(self.comboBox_item)
self.horizontalLayout_3.addLayout(self.verticalLayout_3)
self.verticalLayout_4.addLayout(self.horizontalLayout_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.gridLayout.addLayout(self.verticalLayout_4, 1, 0, 1, 1)
self.horizontalLayout_4.addLayout(self.gridLayout)
self.gridLayout_2.addLayout(self.horizontalLayout_4, 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_3.setText(_translate("Dialog", "類別:"))
self.label_4.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", "相機類"))