ProjectPyramid/Ui_FormSelectionDialog.py

branch
eric7
changeset 169
0405f4f83719
equal deleted inserted replaced
168:fee59283137b 169:0405f4f83719
1 # Form implementation generated from reading ui file 'ProjectPyramid/FormSelectionDialog.ui'
2 #
3 # Created by: PyQt6 UI code generator 6.7.1
4 #
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is
6 # run again. Do not edit this file unless you know what you are doing.
7
8
9 from PyQt6 import QtCore, QtGui, QtWidgets
10
11
12 class Ui_FormSelectionDialog(object):
13 def setupUi(self, FormSelectionDialog):
14 FormSelectionDialog.setObjectName("FormSelectionDialog")
15 FormSelectionDialog.resize(600, 450)
16 FormSelectionDialog.setSizeGripEnabled(True)
17 self.gridLayout = QtWidgets.QGridLayout(FormSelectionDialog)
18 self.gridLayout.setObjectName("gridLayout")
19 self.label = QtWidgets.QLabel(parent=FormSelectionDialog)
20 self.label.setObjectName("label")
21 self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
22 self.typeCombo = QtWidgets.QComboBox(parent=FormSelectionDialog)
23 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
24 sizePolicy.setHorizontalStretch(0)
25 sizePolicy.setVerticalStretch(0)
26 sizePolicy.setHeightForWidth(self.typeCombo.sizePolicy().hasHeightForWidth())
27 self.typeCombo.setSizePolicy(sizePolicy)
28 self.typeCombo.setObjectName("typeCombo")
29 self.gridLayout.addWidget(self.typeCombo, 0, 1, 1, 1)
30 self.label_2 = QtWidgets.QLabel(parent=FormSelectionDialog)
31 self.label_2.setObjectName("label_2")
32 self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
33 self.preview = QtWidgets.QTextEdit(parent=FormSelectionDialog)
34 self.preview.setReadOnly(True)
35 self.preview.setObjectName("preview")
36 self.gridLayout.addWidget(self.preview, 2, 0, 1, 2)
37 self.buttonBox = QtWidgets.QDialogButtonBox(parent=FormSelectionDialog)
38 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
39 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
40 self.buttonBox.setObjectName("buttonBox")
41 self.gridLayout.addWidget(self.buttonBox, 3, 0, 1, 2)
42 self.label.setBuddy(self.typeCombo)
43
44 self.retranslateUi(FormSelectionDialog)
45 self.buttonBox.accepted.connect(FormSelectionDialog.accept) # type: ignore
46 self.buttonBox.rejected.connect(FormSelectionDialog.reject) # type: ignore
47 QtCore.QMetaObject.connectSlotsByName(FormSelectionDialog)
48 FormSelectionDialog.setTabOrder(self.typeCombo, self.preview)
49 FormSelectionDialog.setTabOrder(self.preview, self.buttonBox)
50
51 def retranslateUi(self, FormSelectionDialog):
52 _translate = QtCore.QCoreApplication.translate
53 FormSelectionDialog.setWindowTitle(_translate("FormSelectionDialog", "Template Type Selection"))
54 self.label.setText(_translate("FormSelectionDialog", "Template &Type:"))
55 self.typeCombo.setToolTip(_translate("FormSelectionDialog", "Select the template type"))
56 self.label_2.setText(_translate("FormSelectionDialog", "Preview:"))
57 self.preview.setToolTip(_translate("FormSelectionDialog", "Shows the text of the selected template"))

eric ide

mercurial