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()
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