if self.pageContent.propertyTable.rowCount() == 0:
module_label = self.pageContent.moduleLabel.text()
module_label += "\n\nNo configuration needed."
- self.pageContent.moduleLabel.setText(module_label)
+ self.pageContent.moduleLabel.setText(module_label)
+ else:
+ self.pageContent.moduleLabel.setText("")
+ self.pageContent.moduleLabel.setVisible(False)
def dependencyCheck(self, item):
"""
"""
Fills the module tree with the module entries separated in categories.
"""
+ self.pageContent.moduleTree.clear()
modules = self.projectInfo("MODULES")
if not modules:
return
module_item.setCheckState(0, Qt.Unchecked)
self.pageContent.moduleTree.addTopLevelItem(item)
self.pageContent.moduleTree.sortItems(0, Qt.AscendingOrder)
+ self.fillPropertyTable()
def insertCheckBox(self, index, value):
"""
Slot called when the value of one of the stored widget changes. It emits
another signal.
"""
- self.emit(SIGNAL("stateChanged"), id)
\ No newline at end of file
+ self.emit(SIGNAL("stateChanged"), id)