src/eric7/Plugins/WizardPlugins/EricPluginWizard/Ui_PluginWizardDialog.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/EricPluginWizard/PluginWizardDialog.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_PluginWizardDialog(object):
13 def setupUi(self, PluginWizardDialog):
14 PluginWizardDialog.setObjectName("PluginWizardDialog")
15 PluginWizardDialog.resize(700, 600)
16 PluginWizardDialog.setSizeGripEnabled(True)
17 self.verticalLayout_5 = QtWidgets.QVBoxLayout(PluginWizardDialog)
18 self.verticalLayout_5.setObjectName("verticalLayout_5")
19 self.dataTabWidget = QtWidgets.QTabWidget(parent=PluginWizardDialog)
20 self.dataTabWidget.setObjectName("dataTabWidget")
21 self.headerTab = QtWidgets.QWidget()
22 self.headerTab.setObjectName("headerTab")
23 self.verticalLayout = QtWidgets.QVBoxLayout(self.headerTab)
24 self.verticalLayout.setObjectName("verticalLayout")
25 self.gridLayout = QtWidgets.QGridLayout()
26 self.gridLayout.setObjectName("gridLayout")
27 self.label = QtWidgets.QLabel(parent=self.headerTab)
28 self.label.setObjectName("label")
29 self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
30 self.nameEdit = QtWidgets.QLineEdit(parent=self.headerTab)
31 self.nameEdit.setMaxLength(55)
32 self.nameEdit.setObjectName("nameEdit")
33 self.gridLayout.addWidget(self.nameEdit, 0, 1, 1, 2)
34 self.label_2 = QtWidgets.QLabel(parent=self.headerTab)
35 self.label_2.setObjectName("label_2")
36 self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
37 self.versionEdit = QtWidgets.QLineEdit(parent=self.headerTab)
38 self.versionEdit.setMaxLength(10)
39 self.versionEdit.setObjectName("versionEdit")
40 self.gridLayout.addWidget(self.versionEdit, 1, 1, 1, 2)
41 self.label_3 = QtWidgets.QLabel(parent=self.headerTab)
42 self.label_3.setObjectName("label_3")
43 self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
44 self.authorEdit = QtWidgets.QLineEdit(parent=self.headerTab)
45 self.authorEdit.setMaxLength(55)
46 self.authorEdit.setObjectName("authorEdit")
47 self.gridLayout.addWidget(self.authorEdit, 2, 1, 1, 2)
48 self.label_4 = QtWidgets.QLabel(parent=self.headerTab)
49 self.label_4.setObjectName("label_4")
50 self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1)
51 self.authorEmailEdit = QtWidgets.QLineEdit(parent=self.headerTab)
52 self.authorEmailEdit.setInputMask("")
53 self.authorEmailEdit.setMaxLength(55)
54 self.authorEmailEdit.setObjectName("authorEmailEdit")
55 self.gridLayout.addWidget(self.authorEmailEdit, 3, 1, 1, 2)
56 self.label_5 = QtWidgets.QLabel(parent=self.headerTab)
57 self.label_5.setObjectName("label_5")
58 self.gridLayout.addWidget(self.label_5, 4, 0, 1, 1)
59 self.classNameEdit = QtWidgets.QLineEdit(parent=self.headerTab)
60 self.classNameEdit.setMaxLength(55)
61 self.classNameEdit.setObjectName("classNameEdit")
62 self.gridLayout.addWidget(self.classNameEdit, 4, 1, 1, 2)
63 self.label_6 = QtWidgets.QLabel(parent=self.headerTab)
64 self.label_6.setObjectName("label_6")
65 self.gridLayout.addWidget(self.label_6, 5, 0, 1, 1)
66 self.packageNameEdit = QtWidgets.QLineEdit(parent=self.headerTab)
67 self.packageNameEdit.setMaxLength(55)
68 self.packageNameEdit.setObjectName("packageNameEdit")
69 self.gridLayout.addWidget(self.packageNameEdit, 5, 1, 1, 1)
70 self.createPackageCheckBox = QtWidgets.QCheckBox(parent=self.headerTab)
71 self.createPackageCheckBox.setChecked(True)
72 self.createPackageCheckBox.setObjectName("createPackageCheckBox")
73 self.gridLayout.addWidget(self.createPackageCheckBox, 5, 2, 1, 1)
74 self.label_7 = QtWidgets.QLabel(parent=self.headerTab)
75 self.label_7.setObjectName("label_7")
76 self.gridLayout.addWidget(self.label_7, 6, 0, 1, 1)
77 self.shortDescriptionEdit = QtWidgets.QLineEdit(parent=self.headerTab)
78 self.shortDescriptionEdit.setMaxLength(55)
79 self.shortDescriptionEdit.setObjectName("shortDescriptionEdit")
80 self.gridLayout.addWidget(self.shortDescriptionEdit, 6, 1, 1, 2)
81 self.label_8 = QtWidgets.QLabel(parent=self.headerTab)
82 self.label_8.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeading|QtCore.Qt.AlignmentFlag.AlignLeft|QtCore.Qt.AlignmentFlag.AlignTop)
83 self.label_8.setObjectName("label_8")
84 self.gridLayout.addWidget(self.label_8, 7, 0, 1, 1)
85 self.longDescriptionEdit = EricSpellCheckedPlainTextEdit(parent=self.headerTab)
86 self.longDescriptionEdit.setTabChangesFocus(True)
87 self.longDescriptionEdit.setObjectName("longDescriptionEdit")
88 self.gridLayout.addWidget(self.longDescriptionEdit, 7, 1, 1, 2)
89 self.verticalLayout.addLayout(self.gridLayout)
90 self.gridLayout_2 = QtWidgets.QGridLayout()
91 self.gridLayout_2.setObjectName("gridLayout_2")
92 self.autoActivateCheckBox = QtWidgets.QCheckBox(parent=self.headerTab)
93 self.autoActivateCheckBox.setChecked(True)
94 self.autoActivateCheckBox.setObjectName("autoActivateCheckBox")
95 self.gridLayout_2.addWidget(self.autoActivateCheckBox, 0, 0, 1, 1)
96 self.deactivateableCheckBox = QtWidgets.QCheckBox(parent=self.headerTab)
97 self.deactivateableCheckBox.setChecked(True)
98 self.deactivateableCheckBox.setObjectName("deactivateableCheckBox")
99 self.gridLayout_2.addWidget(self.deactivateableCheckBox, 0, 1, 1, 1)
100 self.restartCheckBox = QtWidgets.QCheckBox(parent=self.headerTab)
101 self.restartCheckBox.setObjectName("restartCheckBox")
102 self.gridLayout_2.addWidget(self.restartCheckBox, 1, 0, 1, 1)
103 self.verticalLayout.addLayout(self.gridLayout_2)
104 self.ondemandFrame = QtWidgets.QFrame(parent=self.headerTab)
105 self.ondemandFrame.setEnabled(False)
106 self.ondemandFrame.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
107 self.ondemandFrame.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
108 self.ondemandFrame.setObjectName("ondemandFrame")
109 self.gridLayout_4 = QtWidgets.QGridLayout(self.ondemandFrame)
110 self.gridLayout_4.setObjectName("gridLayout_4")
111 self.label_10 = QtWidgets.QLabel(parent=self.ondemandFrame)
112 self.label_10.setObjectName("label_10")
113 self.gridLayout_4.addWidget(self.label_10, 0, 0, 1, 1)
114 self.pluginTypeCombo = QtWidgets.QComboBox(parent=self.ondemandFrame)
115 self.pluginTypeCombo.setObjectName("pluginTypeCombo")
116 self.gridLayout_4.addWidget(self.pluginTypeCombo, 0, 1, 1, 1)
117 spacerItem = QtWidgets.QSpacerItem(406, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
118 self.gridLayout_4.addItem(spacerItem, 0, 2, 1, 1)
119 self.label_11 = QtWidgets.QLabel(parent=self.ondemandFrame)
120 self.label_11.setObjectName("label_11")
121 self.gridLayout_4.addWidget(self.label_11, 1, 0, 1, 1)
122 self.pluginTypeNameEdit = QtWidgets.QLineEdit(parent=self.ondemandFrame)
123 self.pluginTypeNameEdit.setMaxLength(55)
124 self.pluginTypeNameEdit.setObjectName("pluginTypeNameEdit")
125 self.gridLayout_4.addWidget(self.pluginTypeNameEdit, 1, 1, 1, 2)
126 self.verticalLayout.addWidget(self.ondemandFrame)
127 self.dataTabWidget.addTab(self.headerTab, "")
128 self.configTab = QtWidgets.QWidget()
129 self.configTab.setObjectName("configTab")
130 self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.configTab)
131 self.verticalLayout_3.setObjectName("verticalLayout_3")
132 self.configurationGroup = QtWidgets.QGroupBox(parent=self.configTab)
133 self.configurationGroup.setCheckable(True)
134 self.configurationGroup.setChecked(False)
135 self.configurationGroup.setObjectName("configurationGroup")
136 self.gridLayout_3 = QtWidgets.QGridLayout(self.configurationGroup)
137 self.gridLayout_3.setObjectName("gridLayout_3")
138 self.label_9 = QtWidgets.QLabel(parent=self.configurationGroup)
139 self.label_9.setObjectName("label_9")
140 self.gridLayout_3.addWidget(self.label_9, 0, 0, 1, 1)
141 self.preferencesKeyEdit = QtWidgets.QLineEdit(parent=self.configurationGroup)
142 self.preferencesKeyEdit.setMaxLength(55)
143 self.preferencesKeyEdit.setObjectName("preferencesKeyEdit")
144 self.gridLayout_3.addWidget(self.preferencesKeyEdit, 0, 1, 1, 1)
145 spacerItem1 = QtWidgets.QSpacerItem(20, 416, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
146 self.gridLayout_3.addItem(spacerItem1, 1, 1, 1, 1)
147 self.verticalLayout_3.addWidget(self.configurationGroup)
148 self.dataTabWidget.addTab(self.configTab, "")
149 self.variousTab = QtWidgets.QWidget()
150 self.variousTab.setObjectName("variousTab")
151 self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.variousTab)
152 self.verticalLayout_4.setObjectName("verticalLayout_4")
153 self.pixmapCheckBox = QtWidgets.QCheckBox(parent=self.variousTab)
154 self.pixmapCheckBox.setObjectName("pixmapCheckBox")
155 self.verticalLayout_4.addWidget(self.pixmapCheckBox)
156 self.moduleSetupCheckBox = QtWidgets.QCheckBox(parent=self.variousTab)
157 self.moduleSetupCheckBox.setObjectName("moduleSetupCheckBox")
158 self.verticalLayout_4.addWidget(self.moduleSetupCheckBox)
159 self.exeGroup = QtWidgets.QGroupBox(parent=self.variousTab)
160 self.exeGroup.setCheckable(True)
161 self.exeGroup.setChecked(False)
162 self.exeGroup.setObjectName("exeGroup")
163 self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.exeGroup)
164 self.verticalLayout_2.setObjectName("verticalLayout_2")
165 self.exeRadioButton = QtWidgets.QRadioButton(parent=self.exeGroup)
166 self.exeRadioButton.setChecked(True)
167 self.exeRadioButton.setObjectName("exeRadioButton")
168 self.verticalLayout_2.addWidget(self.exeRadioButton)
169 self.exeInfoRadioButton = QtWidgets.QRadioButton(parent=self.exeGroup)
170 self.exeInfoRadioButton.setObjectName("exeInfoRadioButton")
171 self.verticalLayout_2.addWidget(self.exeInfoRadioButton)
172 self.exeListRadioButton = QtWidgets.QRadioButton(parent=self.exeGroup)
173 self.exeListRadioButton.setObjectName("exeListRadioButton")
174 self.verticalLayout_2.addWidget(self.exeListRadioButton)
175 self.verticalLayout_4.addWidget(self.exeGroup)
176 self.apiFilesCheckBox = QtWidgets.QCheckBox(parent=self.variousTab)
177 self.apiFilesCheckBox.setObjectName("apiFilesCheckBox")
178 self.verticalLayout_4.addWidget(self.apiFilesCheckBox)
179 spacerItem2 = QtWidgets.QSpacerItem(20, 377, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
180 self.verticalLayout_4.addItem(spacerItem2)
181 self.dataTabWidget.addTab(self.variousTab, "")
182 self.verticalLayout_5.addWidget(self.dataTabWidget)
183 self.horizontalLayout = QtWidgets.QHBoxLayout()
184 self.horizontalLayout.setObjectName("horizontalLayout")
185 self.projectButton = QtWidgets.QPushButton(parent=PluginWizardDialog)
186 self.projectButton.setObjectName("projectButton")
187 self.horizontalLayout.addWidget(self.projectButton)
188 spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
189 self.horizontalLayout.addItem(spacerItem3)
190 self.buttonBox = QtWidgets.QDialogButtonBox(parent=PluginWizardDialog)
191 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
192 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
193 self.buttonBox.setObjectName("buttonBox")
194 self.horizontalLayout.addWidget(self.buttonBox)
195 self.verticalLayout_5.addLayout(self.horizontalLayout)
196
197 self.retranslateUi(PluginWizardDialog)
198 self.dataTabWidget.setCurrentIndex(0)
199 self.buttonBox.accepted.connect(PluginWizardDialog.accept) # type: ignore
200 self.buttonBox.rejected.connect(PluginWizardDialog.reject) # type: ignore
201 self.autoActivateCheckBox.toggled['bool'].connect(self.ondemandFrame.setDisabled) # type: ignore
202 QtCore.QMetaObject.connectSlotsByName(PluginWizardDialog)
203 PluginWizardDialog.setTabOrder(self.projectButton, self.dataTabWidget)
204 PluginWizardDialog.setTabOrder(self.dataTabWidget, self.nameEdit)
205 PluginWizardDialog.setTabOrder(self.nameEdit, self.versionEdit)
206 PluginWizardDialog.setTabOrder(self.versionEdit, self.authorEdit)
207 PluginWizardDialog.setTabOrder(self.authorEdit, self.authorEmailEdit)
208 PluginWizardDialog.setTabOrder(self.authorEmailEdit, self.classNameEdit)
209 PluginWizardDialog.setTabOrder(self.classNameEdit, self.packageNameEdit)
210 PluginWizardDialog.setTabOrder(self.packageNameEdit, self.createPackageCheckBox)
211 PluginWizardDialog.setTabOrder(self.createPackageCheckBox, self.shortDescriptionEdit)
212 PluginWizardDialog.setTabOrder(self.shortDescriptionEdit, self.longDescriptionEdit)
213 PluginWizardDialog.setTabOrder(self.longDescriptionEdit, self.autoActivateCheckBox)
214 PluginWizardDialog.setTabOrder(self.autoActivateCheckBox, self.deactivateableCheckBox)
215 PluginWizardDialog.setTabOrder(self.deactivateableCheckBox, self.restartCheckBox)
216 PluginWizardDialog.setTabOrder(self.restartCheckBox, self.pluginTypeCombo)
217 PluginWizardDialog.setTabOrder(self.pluginTypeCombo, self.pluginTypeNameEdit)
218 PluginWizardDialog.setTabOrder(self.pluginTypeNameEdit, self.configurationGroup)
219 PluginWizardDialog.setTabOrder(self.configurationGroup, self.preferencesKeyEdit)
220 PluginWizardDialog.setTabOrder(self.preferencesKeyEdit, self.pixmapCheckBox)
221 PluginWizardDialog.setTabOrder(self.pixmapCheckBox, self.moduleSetupCheckBox)
222 PluginWizardDialog.setTabOrder(self.moduleSetupCheckBox, self.exeGroup)
223 PluginWizardDialog.setTabOrder(self.exeGroup, self.exeRadioButton)
224 PluginWizardDialog.setTabOrder(self.exeRadioButton, self.exeInfoRadioButton)
225 PluginWizardDialog.setTabOrder(self.exeInfoRadioButton, self.exeListRadioButton)
226 PluginWizardDialog.setTabOrder(self.exeListRadioButton, self.apiFilesCheckBox)
227
228 def retranslateUi(self, PluginWizardDialog):
229 _translate = QtCore.QCoreApplication.translate
230 PluginWizardDialog.setWindowTitle(_translate("PluginWizardDialog", "eric Plug-in Wizard"))
231 self.label.setText(_translate("PluginWizardDialog", "Plug-in Name:"))
232 self.nameEdit.setToolTip(_translate("PluginWizardDialog", "Enter the plug-in name"))
233 self.label_2.setText(_translate("PluginWizardDialog", "Version:"))
234 self.versionEdit.setToolTip(_translate("PluginWizardDialog", "Enter the version number in the form \'major.minor[.patch[.sub]]\'"))
235 self.label_3.setText(_translate("PluginWizardDialog", "Author:"))
236 self.authorEdit.setToolTip(_translate("PluginWizardDialog", "Enter the author\'s name"))
237 self.label_4.setText(_translate("PluginWizardDialog", "Author Email:"))
238 self.authorEmailEdit.setToolTip(_translate("PluginWizardDialog", "Enter the author\'s email address"))
239 self.label_5.setText(_translate("PluginWizardDialog", "Class Name:"))
240 self.classNameEdit.setToolTip(_translate("PluginWizardDialog", "Enter the name of the plug-in class"))
241 self.label_6.setText(_translate("PluginWizardDialog", "Package Name:"))
242 self.packageNameEdit.setToolTip(_translate("PluginWizardDialog", "Enter the name of the plug-in package"))
243 self.createPackageCheckBox.setToolTip(_translate("PluginWizardDialog", "Select to create the entered package"))
244 self.createPackageCheckBox.setText(_translate("PluginWizardDialog", "Create Package"))
245 self.label_7.setText(_translate("PluginWizardDialog", "Short Description:"))
246 self.shortDescriptionEdit.setToolTip(_translate("PluginWizardDialog", "Enter the short description"))
247 self.label_8.setText(_translate("PluginWizardDialog", "Long Description:"))
248 self.longDescriptionEdit.setToolTip(_translate("PluginWizardDialog", "Enter the long description"))
249 self.autoActivateCheckBox.setToolTip(_translate("PluginWizardDialog", "Select to activate the plug-in automatically"))
250 self.autoActivateCheckBox.setText(_translate("PluginWizardDialog", "Activate Automatically"))
251 self.deactivateableCheckBox.setToolTip(_translate("PluginWizardDialog", "Select to allow the plug-in to be deactivated"))
252 self.deactivateableCheckBox.setText(_translate("PluginWizardDialog", "Can be deactivated"))
253 self.restartCheckBox.setToolTip(_translate("PluginWizardDialog", "Select to indicate a restart is needed when updated"))
254 self.restartCheckBox.setText(_translate("PluginWizardDialog", "Needs Restart"))
255 self.label_10.setText(_translate("PluginWizardDialog", "Plug-in Type:"))
256 self.pluginTypeCombo.setToolTip(_translate("PluginWizardDialog", "Select the plug-in type"))
257 self.label_11.setText(_translate("PluginWizardDialog", "Plug-in Type Name:"))
258 self.pluginTypeNameEdit.setToolTip(_translate("PluginWizardDialog", "Enter the plug-in type name"))
259 self.dataTabWidget.setTabText(self.dataTabWidget.indexOf(self.headerTab), _translate("PluginWizardDialog", "Header"))
260 self.configurationGroup.setToolTip(_translate("PluginWizardDialog", "Select to indicate that the plug-in has configurable data"))
261 self.configurationGroup.setTitle(_translate("PluginWizardDialog", "Is configurable"))
262 self.label_9.setText(_translate("PluginWizardDialog", "Preferences Key:"))
263 self.preferencesKeyEdit.setToolTip(_translate("PluginWizardDialog", "Enter the preferences key"))
264 self.dataTabWidget.setTabText(self.dataTabWidget.indexOf(self.configTab), _translate("PluginWizardDialog", "Configuration"))
265 self.pixmapCheckBox.setToolTip(_translate("PluginWizardDialog", "Select to create a \'previewPix()\' function skeleton"))
266 self.pixmapCheckBox.setText(_translate("PluginWizardDialog", "Include \'previewPix()\' function"))
267 self.moduleSetupCheckBox.setToolTip(_translate("PluginWizardDialog", "Select to create a \'moduleSetup()\' function skeleton"))
268 self.moduleSetupCheckBox.setText(_translate("PluginWizardDialog", "Include \'moduleSetup()\' function"))
269 self.exeGroup.setTitle(_translate("PluginWizardDialog", "Include an \'exeDisplayData\' function"))
270 self.exeRadioButton.setToolTip(_translate("PluginWizardDialog", "Select to create an \'exeDisplayData()\' function skeleton"))
271 self.exeRadioButton.setText(_translate("PluginWizardDialog", "\'exeDisplayData()\' function returning program data to determine version information"))
272 self.exeInfoRadioButton.setToolTip(_translate("PluginWizardDialog", "Select to create an \'exeDisplayData()\' function skeleton returning version info"))
273 self.exeInfoRadioButton.setText(_translate("PluginWizardDialog", "\'exeDisplayData()\' function returning version information"))
274 self.exeListRadioButton.setToolTip(_translate("PluginWizardDialog", "Select to create an \'exeDisplayDataList()\' function skeleton"))
275 self.exeListRadioButton.setText(_translate("PluginWizardDialog", "\'exeDisplayDataList()\' function"))
276 self.apiFilesCheckBox.setToolTip(_translate("PluginWizardDialog", "Select to create an \'apiFiles()\' function skeleton"))
277 self.apiFilesCheckBox.setText(_translate("PluginWizardDialog", "Include \'apiFiles()\' function"))
278 self.dataTabWidget.setTabText(self.dataTabWidget.indexOf(self.variousTab), _translate("PluginWizardDialog", "Various"))
279 self.projectButton.setToolTip(_translate("PluginWizardDialog", "Press to populate entry fields from project data"))
280 self.projectButton.setText(_translate("PluginWizardDialog", "Populate from Project"))
281 from eric7.EricWidgets.EricSpellCheckedTextEdit import EricSpellCheckedPlainTextEdit

eric ide

mercurial