src/eric7/Plugins/WizardPlugins/MessageBoxWizard/Ui_MessageBoxWizardDialog.py

branch
eric7
changeset 10743
5d3a5a05114e
child 10745
2921faddeaec
equal deleted inserted replaced
10742:7aa41173b44b 10743:5d3a5a05114e
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/WizardPlugins/MessageBoxWizard/MessageBoxWizardDialog.ui'
2 #
3 # Created by: PyQt6 UI code generator 6.7.0
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_MessageBoxWizardDialog(object):
13 def setupUi(self, MessageBoxWizardDialog):
14 MessageBoxWizardDialog.setObjectName("MessageBoxWizardDialog")
15 MessageBoxWizardDialog.resize(600, 650)
16 MessageBoxWizardDialog.setSizeGripEnabled(True)
17 self.verticalLayout = QtWidgets.QVBoxLayout(MessageBoxWizardDialog)
18 self.verticalLayout.setObjectName("verticalLayout")
19 self.groupBox = QtWidgets.QGroupBox(parent=MessageBoxWizardDialog)
20 self.groupBox.setObjectName("groupBox")
21 self.hboxlayout = QtWidgets.QHBoxLayout(self.groupBox)
22 self.hboxlayout.setObjectName("hboxlayout")
23 self.rInformation = QtWidgets.QRadioButton(parent=self.groupBox)
24 self.rInformation.setChecked(True)
25 self.rInformation.setObjectName("rInformation")
26 self.hboxlayout.addWidget(self.rInformation)
27 self.rQuestion = QtWidgets.QRadioButton(parent=self.groupBox)
28 self.rQuestion.setFocusPolicy(QtCore.Qt.FocusPolicy.TabFocus)
29 self.rQuestion.setObjectName("rQuestion")
30 self.hboxlayout.addWidget(self.rQuestion)
31 self.rWarning = QtWidgets.QRadioButton(parent=self.groupBox)
32 self.rWarning.setFocusPolicy(QtCore.Qt.FocusPolicy.TabFocus)
33 self.rWarning.setObjectName("rWarning")
34 self.hboxlayout.addWidget(self.rWarning)
35 self.rCritical = QtWidgets.QRadioButton(parent=self.groupBox)
36 self.rCritical.setFocusPolicy(QtCore.Qt.FocusPolicy.TabFocus)
37 self.rCritical.setObjectName("rCritical")
38 self.hboxlayout.addWidget(self.rCritical)
39 self.rAbout = QtWidgets.QRadioButton(parent=self.groupBox)
40 self.rAbout.setFocusPolicy(QtCore.Qt.FocusPolicy.TabFocus)
41 self.rAbout.setObjectName("rAbout")
42 self.hboxlayout.addWidget(self.rAbout)
43 self.rAboutQt = QtWidgets.QRadioButton(parent=self.groupBox)
44 self.rAboutQt.setFocusPolicy(QtCore.Qt.FocusPolicy.TabFocus)
45 self.rAboutQt.setObjectName("rAboutQt")
46 self.hboxlayout.addWidget(self.rAboutQt)
47 self.verticalLayout.addWidget(self.groupBox)
48 self.lResultVar = QtWidgets.QLabel(parent=MessageBoxWizardDialog)
49 self.lResultVar.setObjectName("lResultVar")
50 self.verticalLayout.addWidget(self.lResultVar)
51 self.eResultVar = QtWidgets.QLineEdit(parent=MessageBoxWizardDialog)
52 self.eResultVar.setObjectName("eResultVar")
53 self.verticalLayout.addWidget(self.eResultVar)
54 self.textLabel1 = QtWidgets.QLabel(parent=MessageBoxWizardDialog)
55 self.textLabel1.setObjectName("textLabel1")
56 self.verticalLayout.addWidget(self.textLabel1)
57 self.eCaption = QtWidgets.QLineEdit(parent=MessageBoxWizardDialog)
58 self.eCaption.setObjectName("eCaption")
59 self.verticalLayout.addWidget(self.eCaption)
60 self.textLabel2 = QtWidgets.QLabel(parent=MessageBoxWizardDialog)
61 self.textLabel2.setObjectName("textLabel2")
62 self.verticalLayout.addWidget(self.textLabel2)
63 self.eMessage = EricSpellCheckedTextEdit(parent=MessageBoxWizardDialog)
64 self.eMessage.setTabChangesFocus(True)
65 self.eMessage.setObjectName("eMessage")
66 self.verticalLayout.addWidget(self.eMessage)
67 self.parentGroup = QtWidgets.QGroupBox(parent=MessageBoxWizardDialog)
68 self.parentGroup.setObjectName("parentGroup")
69 self.gridLayout_3 = QtWidgets.QGridLayout(self.parentGroup)
70 self.gridLayout_3.setObjectName("gridLayout_3")
71 self.parentSelf = QtWidgets.QRadioButton(parent=self.parentGroup)
72 self.parentSelf.setChecked(True)
73 self.parentSelf.setObjectName("parentSelf")
74 self.gridLayout_3.addWidget(self.parentSelf, 0, 0, 1, 1)
75 self.parentNone = QtWidgets.QRadioButton(parent=self.parentGroup)
76 self.parentNone.setObjectName("parentNone")
77 self.gridLayout_3.addWidget(self.parentNone, 0, 1, 1, 1)
78 self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
79 self.horizontalLayout_2.setObjectName("horizontalLayout_2")
80 self.parentOther = QtWidgets.QRadioButton(parent=self.parentGroup)
81 self.parentOther.setObjectName("parentOther")
82 self.horizontalLayout_2.addWidget(self.parentOther)
83 self.parentEdit = QtWidgets.QLineEdit(parent=self.parentGroup)
84 self.parentEdit.setEnabled(False)
85 self.parentEdit.setObjectName("parentEdit")
86 self.horizontalLayout_2.addWidget(self.parentEdit)
87 self.gridLayout_3.addLayout(self.horizontalLayout_2, 1, 0, 1, 2)
88 self.verticalLayout.addWidget(self.parentGroup)
89 self.standardButtons = QtWidgets.QGroupBox(parent=MessageBoxWizardDialog)
90 self.standardButtons.setObjectName("standardButtons")
91 self.vboxlayout = QtWidgets.QVBoxLayout(self.standardButtons)
92 self.vboxlayout.setObjectName("vboxlayout")
93 self.gridlayout = QtWidgets.QGridLayout()
94 self.gridlayout.setObjectName("gridlayout")
95 self.applyCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
96 self.applyCheck.setObjectName("applyCheck")
97 self.gridlayout.addWidget(self.applyCheck, 0, 1, 1, 1)
98 self.abortCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
99 self.abortCheck.setObjectName("abortCheck")
100 self.gridlayout.addWidget(self.abortCheck, 0, 0, 1, 1)
101 self.cancelCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
102 self.cancelCheck.setObjectName("cancelCheck")
103 self.gridlayout.addWidget(self.cancelCheck, 0, 2, 1, 1)
104 self.ignoreCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
105 self.ignoreCheck.setObjectName("ignoreCheck")
106 self.gridlayout.addWidget(self.ignoreCheck, 1, 1, 1, 1)
107 self.saveallCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
108 self.saveallCheck.setObjectName("saveallCheck")
109 self.gridlayout.addWidget(self.saveallCheck, 3, 0, 1, 1)
110 self.saveCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
111 self.saveCheck.setObjectName("saveCheck")
112 self.gridlayout.addWidget(self.saveCheck, 2, 4, 1, 1)
113 self.discardCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
114 self.discardCheck.setObjectName("discardCheck")
115 self.gridlayout.addWidget(self.discardCheck, 0, 4, 1, 1)
116 self.yestoallCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
117 self.yestoallCheck.setObjectName("yestoallCheck")
118 self.gridlayout.addWidget(self.yestoallCheck, 3, 2, 1, 1)
119 self.openCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
120 self.openCheck.setObjectName("openCheck")
121 self.gridlayout.addWidget(self.openCheck, 2, 0, 1, 1)
122 self.resetCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
123 self.resetCheck.setObjectName("resetCheck")
124 self.gridlayout.addWidget(self.resetCheck, 2, 1, 1, 1)
125 self.okCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
126 self.okCheck.setObjectName("okCheck")
127 self.gridlayout.addWidget(self.okCheck, 1, 4, 1, 1)
128 self.noCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
129 self.noCheck.setObjectName("noCheck")
130 self.gridlayout.addWidget(self.noCheck, 1, 2, 1, 1)
131 self.helpCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
132 self.helpCheck.setObjectName("helpCheck")
133 self.gridlayout.addWidget(self.helpCheck, 1, 0, 1, 1)
134 self.notoallCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
135 self.notoallCheck.setObjectName("notoallCheck")
136 self.gridlayout.addWidget(self.notoallCheck, 1, 3, 1, 1)
137 self.retryCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
138 self.retryCheck.setObjectName("retryCheck")
139 self.gridlayout.addWidget(self.retryCheck, 2, 3, 1, 1)
140 self.restoreCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
141 self.restoreCheck.setObjectName("restoreCheck")
142 self.gridlayout.addWidget(self.restoreCheck, 2, 2, 1, 1)
143 self.yesCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
144 self.yesCheck.setObjectName("yesCheck")
145 self.gridlayout.addWidget(self.yesCheck, 3, 1, 1, 1)
146 self.closeCheck = QtWidgets.QCheckBox(parent=self.standardButtons)
147 self.closeCheck.setObjectName("closeCheck")
148 self.gridlayout.addWidget(self.closeCheck, 0, 3, 1, 1)
149 self.vboxlayout.addLayout(self.gridlayout)
150 self.hboxlayout1 = QtWidgets.QHBoxLayout()
151 self.hboxlayout1.setObjectName("hboxlayout1")
152 self.TextLabel1_2 = QtWidgets.QLabel(parent=self.standardButtons)
153 self.TextLabel1_2.setObjectName("TextLabel1_2")
154 self.hboxlayout1.addWidget(self.TextLabel1_2)
155 self.defaultCombo = QtWidgets.QComboBox(parent=self.standardButtons)
156 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
157 sizePolicy.setHorizontalStretch(0)
158 sizePolicy.setVerticalStretch(0)
159 sizePolicy.setHeightForWidth(self.defaultCombo.sizePolicy().hasHeightForWidth())
160 self.defaultCombo.setSizePolicy(sizePolicy)
161 self.defaultCombo.setObjectName("defaultCombo")
162 self.hboxlayout1.addWidget(self.defaultCombo)
163 self.vboxlayout.addLayout(self.hboxlayout1)
164 self.verticalLayout.addWidget(self.standardButtons)
165 self.buttonBox = QtWidgets.QDialogButtonBox(parent=MessageBoxWizardDialog)
166 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
167 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
168 self.buttonBox.setObjectName("buttonBox")
169 self.verticalLayout.addWidget(self.buttonBox)
170
171 self.retranslateUi(MessageBoxWizardDialog)
172 self.buttonBox.accepted.connect(MessageBoxWizardDialog.accept) # type: ignore
173 self.buttonBox.rejected.connect(MessageBoxWizardDialog.reject) # type: ignore
174 self.parentOther.toggled['bool'].connect(self.parentEdit.setEnabled) # type: ignore
175 QtCore.QMetaObject.connectSlotsByName(MessageBoxWizardDialog)
176 MessageBoxWizardDialog.setTabOrder(self.rInformation, self.rQuestion)
177 MessageBoxWizardDialog.setTabOrder(self.rQuestion, self.rWarning)
178 MessageBoxWizardDialog.setTabOrder(self.rWarning, self.rCritical)
179 MessageBoxWizardDialog.setTabOrder(self.rCritical, self.rAbout)
180 MessageBoxWizardDialog.setTabOrder(self.rAbout, self.rAboutQt)
181 MessageBoxWizardDialog.setTabOrder(self.rAboutQt, self.eResultVar)
182 MessageBoxWizardDialog.setTabOrder(self.eResultVar, self.eCaption)
183 MessageBoxWizardDialog.setTabOrder(self.eCaption, self.eMessage)
184 MessageBoxWizardDialog.setTabOrder(self.eMessage, self.parentSelf)
185 MessageBoxWizardDialog.setTabOrder(self.parentSelf, self.parentNone)
186 MessageBoxWizardDialog.setTabOrder(self.parentNone, self.parentOther)
187 MessageBoxWizardDialog.setTabOrder(self.parentOther, self.parentEdit)
188 MessageBoxWizardDialog.setTabOrder(self.parentEdit, self.abortCheck)
189 MessageBoxWizardDialog.setTabOrder(self.abortCheck, self.applyCheck)
190 MessageBoxWizardDialog.setTabOrder(self.applyCheck, self.cancelCheck)
191 MessageBoxWizardDialog.setTabOrder(self.cancelCheck, self.closeCheck)
192 MessageBoxWizardDialog.setTabOrder(self.closeCheck, self.discardCheck)
193 MessageBoxWizardDialog.setTabOrder(self.discardCheck, self.helpCheck)
194 MessageBoxWizardDialog.setTabOrder(self.helpCheck, self.ignoreCheck)
195 MessageBoxWizardDialog.setTabOrder(self.ignoreCheck, self.noCheck)
196 MessageBoxWizardDialog.setTabOrder(self.noCheck, self.notoallCheck)
197 MessageBoxWizardDialog.setTabOrder(self.notoallCheck, self.okCheck)
198 MessageBoxWizardDialog.setTabOrder(self.okCheck, self.openCheck)
199 MessageBoxWizardDialog.setTabOrder(self.openCheck, self.resetCheck)
200 MessageBoxWizardDialog.setTabOrder(self.resetCheck, self.restoreCheck)
201 MessageBoxWizardDialog.setTabOrder(self.restoreCheck, self.retryCheck)
202 MessageBoxWizardDialog.setTabOrder(self.retryCheck, self.saveCheck)
203 MessageBoxWizardDialog.setTabOrder(self.saveCheck, self.saveallCheck)
204 MessageBoxWizardDialog.setTabOrder(self.saveallCheck, self.yesCheck)
205 MessageBoxWizardDialog.setTabOrder(self.yesCheck, self.yestoallCheck)
206 MessageBoxWizardDialog.setTabOrder(self.yestoallCheck, self.defaultCombo)
207 MessageBoxWizardDialog.setTabOrder(self.defaultCombo, self.buttonBox)
208
209 def retranslateUi(self, MessageBoxWizardDialog):
210 _translate = QtCore.QCoreApplication.translate
211 MessageBoxWizardDialog.setWindowTitle(_translate("MessageBoxWizardDialog", "QMessageBox Wizard"))
212 self.groupBox.setTitle(_translate("MessageBoxWizardDialog", "Type"))
213 self.rInformation.setToolTip(_translate("MessageBoxWizardDialog", "Generate an Information QMessageBox"))
214 self.rInformation.setText(_translate("MessageBoxWizardDialog", "Information"))
215 self.rQuestion.setToolTip(_translate("MessageBoxWizardDialog", "Generate a Question QMessageBox"))
216 self.rQuestion.setText(_translate("MessageBoxWizardDialog", "Question"))
217 self.rWarning.setToolTip(_translate("MessageBoxWizardDialog", "Generate a Warning QMessageBox"))
218 self.rWarning.setText(_translate("MessageBoxWizardDialog", "Warning"))
219 self.rCritical.setToolTip(_translate("MessageBoxWizardDialog", "Generate a Critical QMessageBox"))
220 self.rCritical.setText(_translate("MessageBoxWizardDialog", "Critical"))
221 self.rAbout.setToolTip(_translate("MessageBoxWizardDialog", "Generate an About QMessageBox"))
222 self.rAbout.setText(_translate("MessageBoxWizardDialog", "About"))
223 self.rAboutQt.setToolTip(_translate("MessageBoxWizardDialog", "Generate an AboutQt QMessageBox"))
224 self.rAboutQt.setText(_translate("MessageBoxWizardDialog", "About Qt"))
225 self.lResultVar.setText(_translate("MessageBoxWizardDialog", "Result:"))
226 self.eResultVar.setToolTip(_translate("MessageBoxWizardDialog", "Enter the result variable name"))
227 self.textLabel1.setText(_translate("MessageBoxWizardDialog", "Title"))
228 self.eCaption.setToolTip(_translate("MessageBoxWizardDialog", "Enter the title for the QMessageBox"))
229 self.textLabel2.setText(_translate("MessageBoxWizardDialog", "Message"))
230 self.eMessage.setToolTip(_translate("MessageBoxWizardDialog", "Enter the message to be shown in the QMessageBox"))
231 self.parentGroup.setTitle(_translate("MessageBoxWizardDialog", "Parent"))
232 self.parentSelf.setToolTip(_translate("MessageBoxWizardDialog", "Select \"self\" as parent"))
233 self.parentSelf.setText(_translate("MessageBoxWizardDialog", "self"))
234 self.parentNone.setToolTip(_translate("MessageBoxWizardDialog", "Select \"None\" as parent"))
235 self.parentNone.setText(_translate("MessageBoxWizardDialog", "None"))
236 self.parentOther.setToolTip(_translate("MessageBoxWizardDialog", "Select to enter a parent expression"))
237 self.parentOther.setText(_translate("MessageBoxWizardDialog", "Expression:"))
238 self.parentEdit.setToolTip(_translate("MessageBoxWizardDialog", "Enter the parent expression"))
239 self.standardButtons.setTitle(_translate("MessageBoxWizardDialog", "Standard Buttons"))
240 self.applyCheck.setText(_translate("MessageBoxWizardDialog", "Apply"))
241 self.abortCheck.setText(_translate("MessageBoxWizardDialog", "Abort"))
242 self.cancelCheck.setText(_translate("MessageBoxWizardDialog", "Cancel"))
243 self.ignoreCheck.setText(_translate("MessageBoxWizardDialog", "Ignore"))
244 self.saveallCheck.setText(_translate("MessageBoxWizardDialog", "Save all"))
245 self.saveCheck.setText(_translate("MessageBoxWizardDialog", "Save"))
246 self.discardCheck.setText(_translate("MessageBoxWizardDialog", "Discard"))
247 self.yestoallCheck.setText(_translate("MessageBoxWizardDialog", "Yes to all"))
248 self.openCheck.setText(_translate("MessageBoxWizardDialog", "Open"))
249 self.resetCheck.setText(_translate("MessageBoxWizardDialog", "Reset"))
250 self.okCheck.setText(_translate("MessageBoxWizardDialog", "Ok"))
251 self.noCheck.setText(_translate("MessageBoxWizardDialog", "No"))
252 self.helpCheck.setText(_translate("MessageBoxWizardDialog", "Help"))
253 self.notoallCheck.setText(_translate("MessageBoxWizardDialog", "No to all"))
254 self.retryCheck.setText(_translate("MessageBoxWizardDialog", "Retry"))
255 self.restoreCheck.setText(_translate("MessageBoxWizardDialog", "Restore defaults"))
256 self.yesCheck.setText(_translate("MessageBoxWizardDialog", "Yes"))
257 self.closeCheck.setText(_translate("MessageBoxWizardDialog", "Close"))
258 self.TextLabel1_2.setText(_translate("MessageBoxWizardDialog", "Default Button:"))
259 self.defaultCombo.setToolTip(_translate("MessageBoxWizardDialog", "Select the default button"))
260 from eric7.EricWidgets.EricSpellCheckedTextEdit import EricSpellCheckedTextEdit

eric ide

mercurial