Add *.pyc in svn:ignore
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 10 Dec 2008 15:14:29 +0000 (15:14 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 10 Dec 2008 15:14:29 +0000 (15:14 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1987 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BWizardPage.py [new file with mode: 0644]
wizard/bertos.qrc
wizard/images/filenew.png [new file with mode: 0755]
wizard/images/fileopen.png [new file with mode: 0755]
wizard/images/new.png [deleted file]
wizard/images/open.png [deleted file]
wizard/output_select.ui
wizard/start.ui

diff --git a/wizard/BWizardPage.py b/wizard/BWizardPage.py
new file mode 100644 (file)
index 0000000..3ef8360
--- /dev/null
@@ -0,0 +1,24 @@
+#!/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 PyQt4.QtCore import *
+from PyQt4.QtGui import *
+from PyQt4 import uic
+
+class BWizardPage(QWizardPage):
+    
+    def __init__(self, wizardGui, parent = None):
+        QWizardPage.__init__(self, parent)
+        uic.loadUiType("start.ui")
+        self.pageContent = uic.loadUi(wizardGui, None)
+        layout = QVBoxLayout()
+        layout.addWidget(self.pageContent)
+        self.setLayout(layout)
\ No newline at end of file
index 3137005bdbc55686ff289ee2b94ce5909727efcd..750cecbd620651f59a0c8c7b5dbeeba90d5a9e93 100644 (file)
@@ -1,6 +1,6 @@
 <RCC>
   <qresource prefix="images" >
-    <file>images/new.png</file>
-    <file>images/open.png</file>
+    <file>images/filenew.png</file>
+    <file>images/fileopen.png</file>
   </qresource>
 </RCC>
diff --git a/wizard/images/filenew.png b/wizard/images/filenew.png
new file mode 100755 (executable)
index 0000000..8c2c68d
Binary files /dev/null and b/wizard/images/filenew.png differ
diff --git a/wizard/images/fileopen.png b/wizard/images/fileopen.png
new file mode 100755 (executable)
index 0000000..cb852e2
Binary files /dev/null and b/wizard/images/fileopen.png differ
diff --git a/wizard/images/new.png b/wizard/images/new.png
deleted file mode 100755 (executable)
index 8c2c68d..0000000
Binary files a/wizard/images/new.png and /dev/null differ
diff --git a/wizard/images/open.png b/wizard/images/open.png
deleted file mode 100755 (executable)
index cb852e2..0000000
Binary files a/wizard/images/open.png and /dev/null differ
index b9e78c5ff6536ab7e4d5c3fcd56901137058baea..b51c789432824ccbefc3b88e2a0801ab347b5710 100644 (file)
@@ -5,8 +5,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>640</width>
-    <height>480</height>
+    <width>149</width>
+    <height>184</height>
    </rect>
   </property>
   <property name="sizePolicy" >
   <property name="windowTitle" >
    <string>Form</string>
   </property>
-  <widget class="QWidget" name="" >
-   <property name="geometry" >
-    <rect>
-     <x>280</x>
-     <y>100</y>
-     <width>125</width>
-     <height>160</height>
-    </rect>
-   </property>
-   <layout class="QVBoxLayout" name="verticalLayout" >
-    <item>
-     <widget class="QPushButton" name="makefileButton" >
-      <property name="text" >
-       <string>Makefile</string>
-      </property>
-     </widget>
-    </item>
-    <item>
-     <widget class="QPushButton" name="eclipseButton" >
-      <property name="text" >
-       <string>Eclipse</string>
-      </property>
-     </widget>
-    </item>
-    <item>
-     <widget class="QPushButton" name="xcodeButton" >
-      <property name="text" >
-       <string>XCode</string>
-      </property>
-     </widget>
-    </item>
-    <item>
-     <widget class="QPushButton" name="vstudioButton" >
-      <property name="text" >
-       <string>Visual Studio</string>
-      </property>
-     </widget>
-    </item>
-    <item>
-     <widget class="QPushButton" name="netbeansButton" >
-      <property name="text" >
-       <string>NetBeans</string>
-      </property>
-     </widget>
-    </item>
-   </layout>
-  </widget>
+  <layout class="QVBoxLayout" name="verticalLayout_2" >
+   <item>
+    <layout class="QVBoxLayout" name="verticalLayout" >
+     <item>
+      <widget class="QPushButton" name="makefileButton" >
+       <property name="text" >
+        <string>Makefile</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QPushButton" name="eclipseButton" >
+       <property name="text" >
+        <string>Eclipse</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QPushButton" name="xcodeButton" >
+       <property name="text" >
+        <string>XCode</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QPushButton" name="vstudioButton" >
+       <property name="text" >
+        <string>Visual Studio</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QPushButton" name="netbeansButton" >
+       <property name="text" >
+        <string>NetBeans</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+  </layout>
  </widget>
  <resources/>
  <connections/>
index 150e3dec001f3252cb2ab03fa72a2cf580a7a147..5a8a52e15fb4997156c209d6b307a27f497c49f4 100644 (file)
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>640</width>
-    <height>480</height>
+    <width>355</width>
+    <height>311</height>
    </rect>
   </property>
-  <property name="sizePolicy" >
-   <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
-    <horstretch>0</horstretch>
-    <verstretch>0</verstretch>
-   </sizepolicy>
-  </property>
   <property name="windowTitle" >
    <string>Form</string>
   </property>
-  <widget class="QWidget" name="" >
-   <property name="geometry" >
-    <rect>
-     <x>150</x>
-     <y>140</y>
-     <width>361</width>
-     <height>171</height>
-    </rect>
-   </property>
-   <layout class="QVBoxLayout" name="verticalLayout" >
-    <item>
-     <layout class="QHBoxLayout" name="horizontalLayout" >
-      <item>
-       <widget class="QToolButton" name="newButton" >
-        <property name="sizePolicy" >
-         <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
-          <horstretch>0</horstretch>
-          <verstretch>0</verstretch>
-         </sizepolicy>
-        </property>
-        <property name="minimumSize" >
-         <size>
-          <width>64</width>
-          <height>64</height>
-         </size>
-        </property>
-        <property name="text" >
-         <string/>
-        </property>
-        <property name="icon" >
-         <iconset resource="bertos.qrc" >
-          <normaloff>:/images/images/new.png</normaloff>:/images/images/new.png</iconset>
-        </property>
-        <property name="iconSize" >
-         <size>
-          <width>64</width>
-          <height>64</height>
-         </size>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <widget class="QLabel" name="newDescription" >
-        <property name="text" >
-         <string>Create a new bertos project</string>
-        </property>
-       </widget>
-      </item>
-     </layout>
-    </item>
-    <item>
-     <widget class="Line" name="line" >
-      <property name="orientation" >
-       <enum>Qt::Horizontal</enum>
-      </property>
-     </widget>
-    </item>
-    <item>
-     <layout class="QHBoxLayout" name="horizontalLayout_2" >
-      <item>
-       <widget class="QToolButton" name="editButton" >
-        <property name="sizePolicy" >
-         <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
-          <horstretch>0</horstretch>
-          <verstretch>0</verstretch>
-         </sizepolicy>
-        </property>
-        <property name="minimumSize" >
-         <size>
-          <width>64</width>
-          <height>64</height>
-         </size>
-        </property>
-        <property name="text" >
-         <string/>
-        </property>
-        <property name="icon" >
-         <iconset resource="bertos.qrc" >
-          <normaloff>:/images/images/open.png</normaloff>:/images/images/open.png</iconset>
-        </property>
-        <property name="iconSize" >
-         <size>
-          <width>64</width>
-          <height>64</height>
-         </size>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <widget class="QLabel" name="editDescription" >
-        <property name="text" >
-         <string>Edit an existent bertos project</string>
-        </property>
-       </widget>
-      </item>
-     </layout>
-    </item>
-   </layout>
-  </widget>
+  <layout class="QVBoxLayout" name="verticalLayout_2" >
+   <item>
+    <layout class="QVBoxLayout" name="verticalLayout" >
+     <item>
+      <layout class="QHBoxLayout" name="horizontalLayout" >
+       <item>
+        <widget class="QToolButton" name="newButton" >
+         <property name="minimumSize" >
+          <size>
+           <width>128</width>
+           <height>128</height>
+          </size>
+         </property>
+         <property name="maximumSize" >
+          <size>
+           <width>128</width>
+           <height>128</height>
+          </size>
+         </property>
+         <property name="text" >
+          <string/>
+         </property>
+         <property name="icon" >
+          <iconset resource="bertos.qrc" >
+           <normaloff>:/images/images/filenew.png</normaloff>:/images/images/filenew.png</iconset>
+         </property>
+         <property name="iconSize" >
+          <size>
+           <width>128</width>
+           <height>128</height>
+          </size>
+         </property>
+         <property name="checkable" >
+          <bool>true</bool>
+         </property>
+         <property name="checked" >
+          <bool>true</bool>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <widget class="QLabel" name="newDescription" >
+         <property name="text" >
+          <string>Create a new bertos project</string>
+         </property>
+        </widget>
+       </item>
+      </layout>
+     </item>
+     <item>
+      <widget class="Line" name="line" >
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <layout class="QHBoxLayout" name="horizontalLayout_2" >
+       <item>
+        <widget class="QToolButton" name="editButton" >
+         <property name="minimumSize" >
+          <size>
+           <width>128</width>
+           <height>128</height>
+          </size>
+         </property>
+         <property name="maximumSize" >
+          <size>
+           <width>128</width>
+           <height>128</height>
+          </size>
+         </property>
+         <property name="text" >
+          <string/>
+         </property>
+         <property name="icon" >
+          <iconset resource="bertos.qrc" >
+           <normaloff>:/images/images/fileopen.png</normaloff>:/images/images/fileopen.png</iconset>
+         </property>
+         <property name="iconSize" >
+          <size>
+           <width>128</width>
+           <height>128</height>
+          </size>
+         </property>
+         <property name="checkable" >
+          <bool>true</bool>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <widget class="QLabel" name="editDescription" >
+         <property name="text" >
+          <string>Edit an existent bertos project</string>
+         </property>
+        </widget>
+       </item>
+      </layout>
+     </item>
+    </layout>
+   </item>
+  </layout>
  </widget>
  <resources>
   <include location="bertos.qrc" />