-
Notifications
You must be signed in to change notification settings - Fork 0
/
StepGuide_child_UI.py
71 lines (65 loc) · 3.69 KB
/
StepGuide_child_UI.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Form implementation generated from reading ui file 'C:/Users/Xueyong Lu/AppData/Local/Temp/StepGuide_childZCAZiP.ui'
#
# Created by: PyQt6 UI code generator 6.4.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt6 import QtCore, QtGui, QtWidgets
class Ui_Dialog_StepDetails(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(353, 313)
self.gridLayout_3 = QtWidgets.QGridLayout(Dialog)
self.gridLayout_3.setObjectName("gridLayout_3")
self.gridLayout = QtWidgets.QGridLayout()
self.gridLayout.setObjectName("gridLayout")
self.frame = QtWidgets.QFrame(parent=Dialog)
self.frame.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame.setObjectName("frame")
self.gridLayout_2 = QtWidgets.QGridLayout(self.frame)
self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
self.gridLayout_2.setObjectName("gridLayout_2")
self.groupBox = QtWidgets.QGroupBox(parent=self.frame)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
self.groupBox.setSizePolicy(sizePolicy)
self.groupBox.setMinimumSize(QtCore.QSize(331, 200))
self.groupBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.groupBox.setBaseSize(QtCore.QSize(0, 0))
self.groupBox.setMouseTracking(False)
self.groupBox.setObjectName("groupBox")
self.gridLayout_2.addWidget(self.groupBox, 0, 0, 1, 1)
self.label = QtWidgets.QLabel(parent=self.frame)
self.label.setMinimumSize(QtCore.QSize(331, 25))
self.label.setMaximumSize(QtCore.QSize(16777215, 25))
self.label.setStyleSheet("color: rgb(150, 150, 150);")
self.label.setInputMethodHints(QtCore.Qt.InputMethodHint.ImhMultiLine)
self.label.setObjectName("label")
self.gridLayout_2.addWidget(self.label, 1, 0, 1, 1)
self.lineEdit = QtWidgets.QLineEdit(parent=self.frame)
self.lineEdit.setMinimumSize(QtCore.QSize(331, 25))
self.lineEdit.setMaximumSize(QtCore.QSize(16777215, 25))
self.lineEdit.setText("")
self.lineEdit.setObjectName("lineEdit")
self.gridLayout_2.addWidget(self.lineEdit, 2, 0, 1, 1)
self.buttonBox = QtWidgets.QDialogButtonBox(parent=self.frame)
self.buttonBox.setMinimumSize(QtCore.QSize(331, 0))
self.buttonBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
self.buttonBox.setObjectName("buttonBox")
self.gridLayout_2.addWidget(self.buttonBox, 3, 0, 1, 1)
self.gridLayout.addWidget(self.frame, 0, 0, 1, 1)
self.gridLayout_3.addLayout(self.gridLayout, 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", "Dialog"))
self.groupBox.setTitle(_translate("Dialog", "GroupBox"))
self.label.setText(_translate("Dialog", "Example: "))