X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBModulePage.py;h=d393d620ca9540ee3462c6ddf3385bcedfbfd29e;hb=10cfb24580ac9720265e3a43448ccfd0b81ec49b;hp=72b0f9da950bde5cdf74b5fc10c5030468b223a7;hpb=1ddc1613b03c97b8ef84c4657c5fbc82e86fa32b;p=bertos.git diff --git a/wizard/BModulePage.py b/wizard/BModulePage.py index 72b0f9da..d393d620 100644 --- a/wizard/BModulePage.py +++ b/wizard/BModulePage.py @@ -28,7 +28,6 @@ # # Copyright 2008 Develer S.r.l. (http://www.develer.com/) # -# $Id$ # # Author: Lorenzo Berni # @@ -150,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":