X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBModulePage.py;h=24623ecdb8db89ee57cdb9dcbeb0ddc90cb53e33;hb=44788dc1e8a6714609acbec5314fa1a5e6c9a91b;hp=af1404e9bf476b3ae0b6191ae0d6fb72b8901eea;hpb=41e39823c216af723fabcce9b56c16b525adde1f;p=bertos.git diff --git a/wizard/BModulePage.py b/wizard/BModulePage.py index af1404e9..24623ecd 100644 --- a/wizard/BModulePage.py +++ b/wizard/BModulePage.py @@ -73,6 +73,9 @@ class BModulePage(BWizardPage): module = self._currentModule() self._controlGroup.clear() configuration = self._projectInfoRetrieve("MODULES")[module]["configuration"] + moduleDescription = self._projectInfoRetrieve("MODULES")[module]["description"] + self.pageContent.moduleLabel.setText(moduleDescription) + self.pageContent.moduleLabel.setVisible(True) self.pageContent.propertyTable.clear() if len(configuration) > 0: configurations = self._projectInfoRetrieve("CONFIGURATIONS")[configuration] @@ -156,6 +159,7 @@ class BModulePage(BWizardPage): def _resetPropertyDescription(self): for index in range(self.pageContent.propertyTable.rowCount()): + print index propertyName = qvariant_converter.getString(self.pageContent.propertyTable.item(index, 0).data(Qt.UserRole)) self.pageContent.propertyTable.item(index, 0).setText(propertyName) @@ -181,6 +185,7 @@ class BModulePage(BWizardPage): self.pageContent.propertyTable.verticalHeader().setVisible(False) self.pageContent.propertyTable.setColumnCount(2) self.pageContent.propertyTable.setRowCount(0) + self.pageContent.moduleLabel.setVisible(False) def _connectSignals(self): self.connect(self.pageContent.moduleTable, SIGNAL("itemSelectionChanged()"), self._fillPropertyTable)