Tue, 03 Sep 2024 17:27:20 +0200
Extended the eric plug-in wizard to support the latest header extension.
--- a/eric7.epj Tue Sep 03 16:45:12 2024 +0200 +++ b/eric7.epj Tue Sep 03 17:27:20 2024 +0200 @@ -69,7 +69,7 @@ "DocstringType": "eric_black", "EnabledCheckerCategories": "C, D, E, I, L, M, NO, N, Y, U, W", "ExcludeFiles": "*/ThirdParty/*, */Ui_*.py, */Examples/*, */pycodestyle.py, */pyflakes/*, */mccabe.py, */eradicate.py, */ast_unparse.py, */piplicenses.py, */MCUScripts/*, */MicroPython/Tools/*", - "ExcludeMessages": "C101,E203,E265,E266,E305,E402,M201,M701,M702,M811,M834,M852,N802,N803,N807,N808,N821,U101,W293,W503,Y119,Y401,Y402", + "ExcludeMessages": "M201,C101,E203,E265,E266,E305,E402,M251,M701,M702,M811,M834,M852,N802,N803,N807,N808,N821,U101,W293,W503,Y119,Y401,Y402", "FixCodes": "", "FixIssues": false, "FutureChecker": "",
--- a/src/eric7/Plugins/WizardPlugins/EricPluginWizard/PluginWizardDialog.py Tue Sep 03 16:45:12 2024 +0200 +++ b/src/eric7/Plugins/WizardPlugins/EricPluginWizard/PluginWizardDialog.py Tue Sep 03 17:27:20 2024 +0200 @@ -147,6 +147,7 @@ self.longDescriptionEdit.toPlainText().splitlines() ), "needsRestart": self.restartCheckBox.isChecked(), + "hasCompiledForms": self.compiledFormsCheckBox.isChecked(), } if self.configurationGroup.isChecked():
--- a/src/eric7/Plugins/WizardPlugins/EricPluginWizard/PluginWizardDialog.ui Tue Sep 03 16:45:12 2024 +0200 +++ b/src/eric7/Plugins/WizardPlugins/EricPluginWizard/PluginWizardDialog.ui Tue Sep 03 17:27:20 2024 +0200 @@ -224,6 +224,19 @@ </property> </widget> </item> + <item row="1" column="1"> + <widget class="QCheckBox" name="compiledFormsCheckBox"> + <property name="toolTip"> + <string>Select to indicate the presence of compiled forms</string> + </property> + <property name="text"> + <string>Contains Compiled Forms</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> </layout> </item> <item> @@ -523,6 +536,7 @@ <tabstop>autoActivateCheckBox</tabstop> <tabstop>deactivateableCheckBox</tabstop> <tabstop>restartCheckBox</tabstop> + <tabstop>compiledFormsCheckBox</tabstop> <tabstop>pluginTypeCombo</tabstop> <tabstop>pluginTypeNameEdit</tabstop> <tabstop>configurationGroup</tabstop> @@ -534,6 +548,8 @@ <tabstop>exeInfoRadioButton</tabstop> <tabstop>exeListRadioButton</tabstop> <tabstop>apiFilesCheckBox</tabstop> + <tabstop>installDependenciesCheckBox</tabstop> + <tabstop>clearPrivateDataCheckBox</tabstop> </tabstops> <resources/> <connections>
--- a/src/eric7/Plugins/WizardPlugins/EricPluginWizard/Templates.py Tue Sep 03 16:45:12 2024 +0200 +++ b/src/eric7/Plugins/WizardPlugins/EricPluginWizard/Templates.py Tue Sep 03 17:27:20 2024 +0200 @@ -35,6 +35,7 @@ """{longDescription}""" ), "needsRestart": {needsRestart}, + "hasCompiledForms": {hasCompiledForms}, "pyqtApi": 2, }} # End-Of-Header
--- a/src/eric7/Plugins/WizardPlugins/EricPluginWizard/Ui_PluginWizardDialog.py Tue Sep 03 16:45:12 2024 +0200 +++ b/src/eric7/Plugins/WizardPlugins/EricPluginWizard/Ui_PluginWizardDialog.py Tue Sep 03 17:27:20 2024 +0200 @@ -1,6 +1,6 @@ # Form implementation generated from reading ui file 'src/eric7/Plugins/WizardPlugins/EricPluginWizard/PluginWizardDialog.ui' # -# Created by: PyQt6 UI code generator 6.7.0 +# Created by: PyQt6 UI code generator 6.7.1 # # 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. @@ -100,6 +100,10 @@ self.restartCheckBox = QtWidgets.QCheckBox(parent=self.headerTab) self.restartCheckBox.setObjectName("restartCheckBox") self.gridLayout_2.addWidget(self.restartCheckBox, 1, 0, 1, 1) + self.compiledFormsCheckBox = QtWidgets.QCheckBox(parent=self.headerTab) + self.compiledFormsCheckBox.setChecked(True) + self.compiledFormsCheckBox.setObjectName("compiledFormsCheckBox") + self.gridLayout_2.addWidget(self.compiledFormsCheckBox, 1, 1, 1, 1) self.verticalLayout.addLayout(self.gridLayout_2) self.ondemandFrame = QtWidgets.QFrame(parent=self.headerTab) self.ondemandFrame.setEnabled(False) @@ -219,7 +223,8 @@ PluginWizardDialog.setTabOrder(self.longDescriptionEdit, self.autoActivateCheckBox) PluginWizardDialog.setTabOrder(self.autoActivateCheckBox, self.deactivateableCheckBox) PluginWizardDialog.setTabOrder(self.deactivateableCheckBox, self.restartCheckBox) - PluginWizardDialog.setTabOrder(self.restartCheckBox, self.pluginTypeCombo) + PluginWizardDialog.setTabOrder(self.restartCheckBox, self.compiledFormsCheckBox) + PluginWizardDialog.setTabOrder(self.compiledFormsCheckBox, self.pluginTypeCombo) PluginWizardDialog.setTabOrder(self.pluginTypeCombo, self.pluginTypeNameEdit) PluginWizardDialog.setTabOrder(self.pluginTypeNameEdit, self.configurationGroup) PluginWizardDialog.setTabOrder(self.configurationGroup, self.preferencesKeyEdit) @@ -230,6 +235,8 @@ PluginWizardDialog.setTabOrder(self.exeRadioButton, self.exeInfoRadioButton) PluginWizardDialog.setTabOrder(self.exeInfoRadioButton, self.exeListRadioButton) PluginWizardDialog.setTabOrder(self.exeListRadioButton, self.apiFilesCheckBox) + PluginWizardDialog.setTabOrder(self.apiFilesCheckBox, self.installDependenciesCheckBox) + PluginWizardDialog.setTabOrder(self.installDependenciesCheckBox, self.clearPrivateDataCheckBox) def retranslateUi(self, PluginWizardDialog): _translate = QtCore.QCoreApplication.translate @@ -258,6 +265,8 @@ self.deactivateableCheckBox.setText(_translate("PluginWizardDialog", "Can be deactivated")) self.restartCheckBox.setToolTip(_translate("PluginWizardDialog", "Select to indicate a restart is needed when updated")) self.restartCheckBox.setText(_translate("PluginWizardDialog", "Needs Restart")) + self.compiledFormsCheckBox.setToolTip(_translate("PluginWizardDialog", "Select to indicate the presence of compiled forms")) + self.compiledFormsCheckBox.setText(_translate("PluginWizardDialog", "Contains Compiled Forms")) self.label_10.setText(_translate("PluginWizardDialog", "Plug-in Type:")) self.pluginTypeCombo.setToolTip(_translate("PluginWizardDialog", "Select the plug-in type")) self.label_11.setText(_translate("PluginWizardDialog", "Plug-in Type Name:"))