X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBCreationPage.py;h=2c4cb9a36d6dee85a0fe8a09ea388093aada13a6;hb=ff9e3c69aa5e11915f056f45f6200009dd29127c;hp=c6c74a4e1f0b65e5e3287e72e433205fff15ec4a;hpb=912352d333ac869de55ea4945c03a49d163f6da4;p=bertos.git diff --git a/wizard/BCreationPage.py b/wizard/BCreationPage.py index c6c74a4e..2c4cb9a3 100644 --- a/wizard/BCreationPage.py +++ b/wizard/BCreationPage.py @@ -22,7 +22,7 @@ class BCreationPage(BWizardPage): def __init__(self): BWizardPage.__init__(self, UI_LOCATION + "/project_creation.ui") - self.setTitle(self.tr("Create the BeRTOS project")) + self.setTitle(self.tr("Settings summary")) self._completed = False ## Overloaded BWizardPage methods ## @@ -51,12 +51,12 @@ class BCreationPage(BWizardPage): toolchain_title = QTreeWidgetItem(QStringList([self.tr("Toolchain")])) toolchain_info = self.projectInfo("TOOLCHAIN") if "target" in toolchain_info: - toolchain_target = QTreeWidgetItem(toolchain_title, QStringList([self.tr("target: " + toolchain_info["target"])])) + toolchain_target = QTreeWidgetItem(toolchain_title, QStringList([self.tr("target: " + toolchain_info["target"].strip())])) version = "" if "version" in toolchain_info: - version += "version: " + "GCC " + toolchain_info["version"] + " " + version += "version: " + "GCC " + toolchain_info["version"].strip() + " " if "build" in toolchain_info: - version += "(" + toolchain_info["build"] + ")" + version += "(" + toolchain_info["build"].strip() + ")" if "version" in toolchain_info: toolchain_target = QTreeWidgetItem(toolchain_title, QStringList([version])) toolchain_path = QTreeWidgetItem(toolchain_title, QStringList([self.tr("path: " + os.path.normpath(toolchain_info["path"]))])) @@ -82,5 +82,7 @@ class BCreationPage(BWizardPage): category_item.addChildren(value) top_level.append(module_title) self.pageContent.summaryTree.insertTopLevelItems(0, top_level) + for item in top_level: + self.pageContent.summaryTree.expandItem(item) #### \ No newline at end of file