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

92 lines
4.4 KiB
Python

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'itemsui.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_Form(object):
def setupUi(self, Form):
Form.setObjectName("Form")
Form.resize(875, 577)
self.gridLayout = QtWidgets.QGridLayout(Form)
self.gridLayout.setObjectName("gridLayout")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.comboBox = QtWidgets.QComboBox(Form)
self.comboBox.setMinimumSize(QtCore.QSize(121, 31))
self.comboBox.setMaximumSize(QtCore.QSize(121, 31))
self.comboBox.setObjectName("comboBox")
self.comboBox.addItem("")
self.comboBox.addItem("")
self.comboBox.addItem("")
self.comboBox.addItem("")
self.horizontalLayout_3.addWidget(self.comboBox)
self.horizontalLayout.addLayout(self.horizontalLayout_3)
spacerItem = QtWidgets.QSpacerItem(728, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.tableWidget = QtWidgets.QTableWidget(Form)
self.tableWidget.setMinimumSize(QtCore.QSize(631, 511))
self.tableWidget.setLineWidth(1)
self.tableWidget.setColumnCount(4)
self.tableWidget.setObjectName("tableWidget")
self.tableWidget.setRowCount(0)
item = QtWidgets.QTableWidgetItem()
item.setTextAlignment(QtCore.Qt.AlignCenter)
self.tableWidget.setHorizontalHeaderItem(0, item)
item = QtWidgets.QTableWidgetItem()
item.setTextAlignment(QtCore.Qt.AlignCenter)
self.tableWidget.setHorizontalHeaderItem(1, item)
item = QtWidgets.QTableWidgetItem()
item.setTextAlignment(QtCore.Qt.AlignCenter)
self.tableWidget.setHorizontalHeaderItem(2, item)
item = QtWidgets.QTableWidgetItem()
item.setTextAlignment(QtCore.Qt.AlignCenter)
self.tableWidget.setHorizontalHeaderItem(3, item)
self.horizontalLayout_2.addWidget(self.tableWidget)
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
spacerItem1 = QtWidgets.QSpacerItem(20, 108, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem1)
self.label = QtWidgets.QLabel(Form)
self.label.setMinimumSize(QtCore.QSize(211, 231))
self.label.setMaximumSize(QtCore.QSize(211, 231))
self.label.setScaledContents(True)
self.label.setObjectName("label")
self.verticalLayout.addWidget(self.label)
spacerItem2 = QtWidgets.QSpacerItem(20, 108, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem2)
self.horizontalLayout_2.addLayout(self.verticalLayout)
self.gridLayout.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
self.retranslateUi(Form)
QtCore.QMetaObject.connectSlotsByName(Form)
def retranslateUi(self, Form):
_translate = QtCore.QCoreApplication.translate
Form.setWindowTitle(_translate("Form", "Form"))
self.comboBox.setItemText(0, _translate("Form", "電料類"))
self.comboBox.setItemText(1, _translate("Form", "線材類"))
self.comboBox.setItemText(2, _translate("Form", "螺絲類"))
self.comboBox.setItemText(3, _translate("Form", "相機類"))
item = self.tableWidget.horizontalHeaderItem(0)
item.setText(_translate("Form", "項目"))
item = self.tableWidget.horizontalHeaderItem(1)
item.setText(_translate("Form", "數量"))
item = self.tableWidget.horizontalHeaderItem(2)
item.setText(_translate("Form", "位置"))
item = self.tableWidget.horizontalHeaderItem(3)
item.setText(_translate("Form", "圖片"))
self.label.setText(_translate("Form", "TextLabel"))