From 0f0599b68cbba7b8cf8d42153d0927c8c0170844 Mon Sep 17 00:00:00 2001 From: duplo Date: Wed, 28 Jan 2009 10:28:03 +0000 Subject: [PATCH] Add the output selection page git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2232 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BOutputPage.py | 23 ++++ wizard/BWizard.py | 2 + wizard/output_select.ui | 242 +++++++++++++++++++++++++++++++++------- 3 files changed, 226 insertions(+), 41 deletions(-) create mode 100644 wizard/BOutputPage.py diff --git a/wizard/BOutputPage.py b/wizard/BOutputPage.py new file mode 100644 index 00000000..e233612e --- /dev/null +++ b/wizard/BOutputPage.py @@ -0,0 +1,23 @@ +#!/usr/bin/env python +# encoding: utf-8 +# +# Copyright 2009 Develer S.r.l. (http://www.develer.com/) +# All rights reserved. +# +# $Id:$ +# +# Author: Lorenzo Berni +# + +import os + +from PyQt4.QtGui import * +from BWizardPage import * +import bertos_utils + + +class BOutputPage(BWizardPage): + + def __init__(self): + BWizardPage.__init__(self, "output_select.ui") + self.setTitle(self.tr("Choose the project output")) diff --git a/wizard/BWizard.py b/wizard/BWizard.py index 9e227fa6..497ea51d 100644 --- a/wizard/BWizard.py +++ b/wizard/BWizard.py @@ -17,6 +17,7 @@ import BVersionPage import BCpuPage import BToolchainPage import BModulePage +import BOutputPage class BWizard(QWizard): @@ -34,6 +35,7 @@ class BWizard(QWizard): self.addPage(BCpuPage.BCpuPage()) self.addPage(BToolchainPage.BToolchainPage()) self.addPage(BModulePage.BModulePage()) + self.addPage(BOutputPage.BOutputPage()) def _connectSignals(self): self.connect(self, SIGNAL("currentIdChanged(int)"), self._pageChanged) diff --git a/wizard/output_select.ui b/wizard/output_select.ui index b51c7894..c866c3ed 100644 --- a/wizard/output_select.ui +++ b/wizard/output_select.ui @@ -5,12 +5,12 @@ 0 0 - 149 - 184 + 358 + 372 - + 0 0 @@ -18,45 +18,205 @@ Form - + - - - - - Makefile - - - - - - - Eclipse - - - - - - - XCode - - - - - - - Visual Studio - - - - - - - NetBeans - - - - + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + BeRTOS build system + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Classic BeRTOS makefile based project + + + + + + + + + + + + false + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + false + + + Eclipse project + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + false + + + Eclipse project files and configurations + + + + + + + + + + + + false + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + false + + + XCode project + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + false + + + XCode project files and configurations + + + + + + + + + + + + false + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + false + + + CodeLite project + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + false + + + CodeLite project files and configurations + + + + + + + -- 2.25.1