+ spinBox.setValue(int(configurations[property]["value"].replace("L", "")))
+
+ def _currentModule(self):
+ return unicode(self.pageContent.moduleTable.item(self.pageContent.moduleTable.currentRow(), 1).text())
+
+ def _currentModuleConfigurations(self):
+ return self._projectInfoRetrieve("MODULES")[self._currentModule()]["configuration"]
+
+ def _currentProperty(self):
+ return qvariant_converter.getString(self.pageContent.propertyTable.item(self.pageContent.propertyTable.currentRow(), 0).data(Qt.UserRole))
+
+ def _currentPropertyItem(self):
+ return self.pageContent.propertyTable.item(self.pageContent.propertyTable.currentRow(), 0)
+
+ def _resetPropertyDescription(self):
+ for index in range(self.pageContent.propertyTable.rowCount()):
+ propertyName = qvariant_converter.getString(self.pageContent.propertyTable.item(index, 0).data(Qt.UserRole))
+ self.pageContent.propertyTable.item(index, 0).setText(propertyName)
+
+ def _showPropertyDescription(self):
+ self._resetPropertyDescription()
+ description = self._projectInfoRetrieve("CONFIGURATIONS")[self._currentModuleConfigurations()][self._currentProperty()]["description"]
+ name = self._currentProperty()
+ self._currentPropertyItem().setText(name + "\n" + description)