Add the CPU select page
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 17 Dec 2008 16:15:12 +0000 (16:15 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 17 Dec 2008 16:15:12 +0000 (16:15 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2064 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BCpuPage.py [new file with mode: 0644]
wizard/cpu_select.ui

diff --git a/wizard/BCpuPage.py b/wizard/BCpuPage.py
new file mode 100644 (file)
index 0000000..8547f42
--- /dev/null
@@ -0,0 +1,19 @@
+#!/usr/bin/env python
+# encoding: utf-8
+#
+# Copyright 2008 Develer S.r.l. (http://www.develer.com/)
+# All rights reserved.
+#
+# $Id:$
+#
+# Author: Lorenzo Berni <duplo@develer.com>
+#
+
+from BWizardPage import *
+
+class BCpuPage(BWizardPage):
+    
+    def __init__(self):
+        BWizardPage.__init__(self, "cpu_select.ui")
+        self.setTitle(self.tr("Select the CPU"))
+        
\ No newline at end of file
index d083ab9aab94d478e64a1377bb71cda11071e466..78fd95e2794f7d4852a450ad8c0102e97a22006c 100644 (file)
@@ -5,12 +5,12 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>640</width>
-    <height>480</height>
+    <width>280</width>
+    <height>216</height>
    </rect>
   </property>
   <property name="sizePolicy" >
-   <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
+   <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
     <horstretch>0</horstretch>
     <verstretch>0</verstretch>
    </sizepolicy>
   <property name="windowTitle" >
    <string>Form</string>
   </property>
-  <widget class="QListView" name="cpuList" >
-   <property name="geometry" >
-    <rect>
-     <x>190</x>
-     <y>40</y>
-     <width>256</width>
-     <height>192</height>
-    </rect>
-   </property>
-  </widget>
-  <widget class="QPushButton" name="checkToolchainButton" >
-   <property name="geometry" >
-    <rect>
-     <x>520</x>
-     <y>420</y>
-     <width>113</width>
-     <height>32</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>PushButton</string>
-   </property>
-  </widget>
+  <layout class="QVBoxLayout" name="verticalLayout" >
+   <item>
+    <widget class="QListView" name="cpuList" />
+   </item>
+  </layout>
  </widget>
  <resources/>
  <connections/>