X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBCreationPage.py;h=0f4e8a36999bea87b318acda6756431137a1c457;hb=b30ca67e54f665181d85a49bff3af2862e86601e;hp=d91fbc61c649777cf4432803ec18628c569c02e4;hpb=3583bfc76f7ff08915a8ecd23402e5f522e602bd;p=bertos.git diff --git a/wizard/BCreationPage.py b/wizard/BCreationPage.py index d91fbc61..0f4e8a36 100644 --- a/wizard/BCreationPage.py +++ b/wizard/BCreationPage.py @@ -28,7 +28,6 @@ # # Copyright 2008 Develer S.r.l. (http://www.develer.com/) # -# $Id$ # # Author: Lorenzo Berni # @@ -43,7 +42,7 @@ import bertos_utils from const import * class BCreationPage(BWizardPage): - + def __init__(self): BWizardPage.__init__(self, UI_LOCATION + "/project_creation.ui") self.setTitle(self.tr("Project summary")) @@ -54,15 +53,15 @@ class BCreationPage(BWizardPage): def connectSignals(self): self.connect(self.pageContent.codeliteCheckBox, SIGNAL("stateChanged(int)"), self.codelitePluginChanged) - + def setupUi(self): summary = self.pageContent.summaryTree summary.setHeaderHidden(True) summary.setColumnCount(1) - self.pageContent.codeliteCheckBox.setChecked("codelite" not in self.plugins()) + self.pageContent.codeliteCheckBox.setChecked(False) self.codelitePluginChanged() self.setButtonText(QWizard.NextButton, self.tr("Create")) - + def reloadData(self, previous_id=None): self.setupUi() self.pageContent.summaryTree.clear() @@ -115,7 +114,7 @@ class BCreationPage(BWizardPage): self.pageContent.summaryTree.insertTopLevelItems(0, top_level) for item in top_level: self.pageContent.summaryTree.expandItem(item) - + #### ## Slots ## @@ -126,5 +125,6 @@ class BCreationPage(BWizardPage): else: output= [] self.setProjectInfo("OUTPUT", output) + self.setPlugins(output) - #### \ No newline at end of file + ####