From: duplo Date: Mon, 24 May 2010 15:17:19 +0000 (+0000) Subject: Add description of the category under the tab. X-Git-Tag: 2.5.0~103 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=df1535af3500598a753336ef497013675542c7b4;p=bertos.git Add description of the category under the tab. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3814 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BProjectPresets.py b/wizard/BProjectPresets.py index 7bdd5d9d..240fb9ac 100644 --- a/wizard/BProjectPresets.py +++ b/wizard/BProjectPresets.py @@ -62,6 +62,7 @@ class BProjectPresetsPage(QWidget): def setupUi(self): self.pageContent.presetList.clear() + self.pageContent.categoryDescription.setText(self.preset_data["info"].get("description", "")) for preset in sorted(self.preset_data["children"].values(), _cmp): item_name = preset["info"].get("name", preset["info"]["filename"]) item_icon = os.path.join(preset["info"]["path"], const.PREDEFINED_BOARD_ICON_FILE) diff --git a/wizard/ui/preset_page.ui b/wizard/ui/preset_page.ui index a7c6c507..e860d093 100644 --- a/wizard/ui/preset_page.ui +++ b/wizard/ui/preset_page.ui @@ -6,52 +6,63 @@ 0 0 - 400 - 300 + 423 + 428 Form - + - - - - 150 - 0 - + + + - + - - - - - - - - - - Qt::Vertical - - + + - 20 - 40 + 150 + 0 - + - - - - - + + + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + +