checkBox.setChecked(modules[module]["enabled"])
def _fillPropertyTable(self):
+ self.savePage()
module = self._currentModule()
configuration = self._projectInfoRetrieve("MODULES")[module]["configuration"]
configurations = self._projectInfoRetrieve("CONFIGURATIONS")[configuration]
def _showPropertyDescription(self):
self._resetPropertyDescription()
- description = self._projectInfoRetrieve("CONFIGURATIONS")[self._currentModuleConfigurations()][self._currentProperty()]["description"]
- name = self._currentProperty()
- self._currentPropertyItem().setText(name + "\n" + description)
+ configurations = self._projectInfoRetrieve("CONFIGURATIONS")[self._currentModuleConfigurations()]
+ if self._currentProperty() in configurations.keys():
+ description = configurations[self._currentProperty()]["description"]
+ name = self._currentProperty()
+ self._currentPropertyItem().setText(name + "\n" + description)
def _setupUi(self):
self.pageContent.moduleTable.horizontalHeader().setResizeMode(QHeaderView.ResizeToContents)
unsatisfied |= set([module])
if dependency not in unsatisfied:
unsatisfied |= self.unselectDependencyCheck(module)
- return unsatisfied
\ No newline at end of file
+ return unsatisfied
+
+ def savePage(self):
+ for index in range(self.pageContent.propertyTable.rowCount()):
+ print qvariant_converter.getString(self.pageContent.propertyTable.item(index, 0).data(Qt.UserRole))
\ No newline at end of file