projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unneeded config.
[bertos.git]
/
wizard
/
BModulePage.py
diff --git
a/wizard/BModulePage.py
b/wizard/BModulePage.py
index af1404e9bf476b3ae0b6191ae0d6fb72b8901eea..24623ecdb8db89ee57cdb9dcbeb0ddc90cb53e33 100644
(file)
--- 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"]
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]
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()):
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)
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.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)
def _connectSignals(self):
self.connect(self.pageContent.moduleTable, SIGNAL("itemSelectionChanged()"), self._fillPropertyTable)