X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBModulePage.py;h=d393d620ca9540ee3462c6ddf3385bcedfbfd29e;hb=387a187563a9fab5c3a3261d5f030fc63a4b3c9f;hp=d3b10172d2062f4d66843ad0062abff48206bac2;hpb=fc1f641a3e2b8cbb4597b605367b11ede313a09d;p=bertos.git diff --git a/wizard/BModulePage.py b/wizard/BModulePage.py index d3b10172..d393d620 100644 --- a/wizard/BModulePage.py +++ b/wizard/BModulePage.py @@ -149,7 +149,11 @@ class BModulePage(BWizardPage): self.pageContent.propertyTable.setRowCount(index + 1) item = QTableWidgetItem(configurations[property]["brief"]) item.setFlags(item.flags() & ~Qt.ItemIsSelectable) - item.setToolTip(property) + tooltip = property + description = configurations[property].get("description", None) + if description: + tooltip = tooltip + ": " + description + item.setToolTip(tooltip) item.setData(Qt.UserRole, qvariant_converter.convertString(property)) self.pageContent.propertyTable.setItem(index, 0, item) if "type" in configurations[property]["informations"] and configurations[property]["informations"]["type"] == "boolean":