- 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
+ ## Slots ##
+
+ def modeChecked(self, checked, value):
+ """
+ Slot called when one of the mode checkbox is checked. It stores it.
+ """
+ output_list = self.projectInfo("OUTPUT")
+ if checked == Qt.Checked:
+ output_list.append(value)
+ else:
+ output_list.remove(value)
+ self.setProjectInfo("OUTPUT", output_list)
+
+ ####
\ No newline at end of file