src/eric7/Plugins/WizardPlugins/EricPluginWizard/PluginWizardDialog.py

branch
eric7
changeset 11279
590767a91391
parent 11278
aaf85a74ea45
equal deleted inserted replaced
11278:aaf85a74ea45 11279:590767a91391
25 exeDisplayDataListTemplate, 25 exeDisplayDataListTemplate,
26 exeDisplayDataTemplate, 26 exeDisplayDataTemplate,
27 installDependenciesTemplate, 27 installDependenciesTemplate,
28 mainTemplate, 28 mainTemplate,
29 moduleSetupTemplate, 29 moduleSetupTemplate,
30 pluginTypeNameTemplate,
30 pluginTypeTemplate, 31 pluginTypeTemplate,
31 pluginTypeNameTemplate,
32 previewPixmapTemplate, 32 previewPixmapTemplate,
33 ) 33 )
34 from .Ui_PluginWizardDialog import Ui_PluginWizardDialog 34 from .Ui_PluginWizardDialog import Ui_PluginWizardDialog
35 35
36 36
101 self.__okButton.setEnabled(enable) 101 self.__okButton.setEnabled(enable)
102 102
103 @pyqtSlot(bool) 103 @pyqtSlot(bool)
104 def on_autoActivateCheckBox_toggled(self, checked): 104 def on_autoActivateCheckBox_toggled(self, checked):
105 """ 105 """
106 Public slot to handle a change of state of the 'Activate Automatically' 106 Private slot to handle a change of state of the 'Activate Automatically'
107 option. 107 option.
108 108
109 @param checked state of the option 109 @param checked state of the option
110 @type bool 110 @type bool
111 """ 111 """
188 templateData["config2"] = "" 188 templateData["config2"] = ""
189 templateData["config3"] = "" 189 templateData["config3"] = ""
190 templateData["config4"] = "" 190 templateData["config4"] = ""
191 191
192 templateData["pluginType"] = ( 192 templateData["pluginType"] = (
193 pluginTypeTemplate.format( 193 pluginTypeTemplate.format(pluginType=self.pluginTypeCombo.currentText())
194 pluginType=self.pluginTypeCombo.currentText()
195 )
196 if bool(self.pluginTypeCombo.currentText()) 194 if bool(self.pluginTypeCombo.currentText())
197 else "" 195 else ""
198 ) 196 )
199 197
200 if self.autoActivateCheckBox.isChecked(): 198 if self.autoActivateCheckBox.isChecked():

eric ide

mercurial