projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remember the previously selected toolchain when coming back from the module page.
[bertos.git]
/
wizard
/
BCreationPage.py
diff --git
a/wizard/BCreationPage.py
b/wizard/BCreationPage.py
index 8cd1d369ca44dfb35882805da02f7f1d5dc3c5ea..d8172155dca5fb9a2a2e62fa304aafdad803e313 100644
(file)
--- a/
wizard/BCreationPage.py
+++ b/
wizard/BCreationPage.py
@@
-51,11
+51,16
@@
class BCreationPage(BWizardPage):
self._completed = False
## Overloaded BWizardPage methods ##
self._completed = False
## Overloaded BWizardPage methods ##
+
+ 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)
def setupUi(self):
summary = self.pageContent.summaryTree
summary.setHeaderHidden(True)
summary.setColumnCount(1)
+ self.pageContent.codeliteCheckBox.setChecked("codelite" not in self.plugins())
+ self.codelitePluginChanged()
self.setButtonText(QWizard.NextButton, self.tr("Create"))
def reloadData(self):
self.setButtonText(QWizard.NextButton, self.tr("Create"))
def reloadData(self):
@@
-112,3
+117,14
@@
class BCreationPage(BWizardPage):
self.pageContent.summaryTree.expandItem(item)
####
self.pageContent.summaryTree.expandItem(item)
####
+
+ ## Slots ##
+
+ def codelitePluginChanged(self):
+ if not self.pageContent.codeliteCheckBox.isChecked():
+ output = ["codelite"]
+ else:
+ output= []
+ self.setProjectInfo("OUTPUT", output)
+
+ ####
\ No newline at end of file