X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBOutputPage.py;h=84222fee46cf54ac8416f5d967050853ac8a9aaa;hb=a2a182c7d2ea815fdde029258d9c843d7adce2ec;hp=cd1290eea7cf124883f435b2a77d1de32ed98be8;hpb=e00a0e97d2ec8ef378448598be142f4647b74756;p=bertos.git diff --git a/wizard/BOutputPage.py b/wizard/BOutputPage.py index cd1290ee..84222fee 100644 --- a/wizard/BOutputPage.py +++ b/wizard/BOutputPage.py @@ -15,11 +15,12 @@ from PyQt4.QtGui import * from BWizardPage import * import bertos_utils +from const import * class BOutputPage(BWizardPage): def __init__(self): - BWizardPage.__init__(self, "output_select.ui") + BWizardPage.__init__(self, UI_LOCATION + "/output_select.ui") self.setTitle(self.tr("Choose the project output")) self._setupButtonGroup() self._connectSignals() @@ -40,5 +41,13 @@ class BOutputPage(BWizardPage): def isComplete(self): for button in self._buttonGroup.buttons(): if button.isChecked(): + if button is self.pageContent.bbsButton: + self._projectInfoStore("OUTPUT", "makefile") + elif button is self.pageContent.eclipseButton: + self._projectInfoStore("OUTPUT", "eclipse") + elif button is self.pageContent.codeliteButton: + self._projectInfoStore("OUTPUT", "codelite") + elif button is self.pageContent.xcodeButton: + self._projectInfoStore("OUTPUT", "xcode") return True return False \ No newline at end of file