Added designer templates for a Wizard and a Wizard Page.

Wed, 15 Feb 2012 15:49:44 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 15 Feb 2012 15:49:44 +0100
changeset 1622
e9e1b704af11
parent 1621
85653d5d3bf9
child 1623
6b9654035a7c

Added designer templates for a Wizard and a Wizard Page.

DesignerTemplates/wizard4.tmpl file | annotate | diff | comparison | revisions
DesignerTemplates/wizardpage4.tmpl file | annotate | diff | comparison | revisions
Project/ProjectFormsBrowser.py file | annotate | diff | comparison | revisions
diff -r 85653d5d3bf9 -r e9e1b704af11 DesignerTemplates/wizard4.tmpl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DesignerTemplates/wizard4.tmpl	Wed Feb 15 15:49:44 2012 +0100
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>Wizard</class>
+ <widget class="QWizard" name="Wizard">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>400</width>
+    <height>300</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Wizard</string>
+  </property>
+  <widget class="QWizardPage" name="wizardPage1"/>
+  <widget class="QWizardPage" name="wizardPage2"/>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
diff -r 85653d5d3bf9 -r e9e1b704af11 DesignerTemplates/wizardpage4.tmpl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DesignerTemplates/wizardpage4.tmpl	Wed Feb 15 15:49:44 2012 +0100
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>WizardPage</class>
+ <widget class="QWizardPage" name="WizardPage">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>400</width>
+    <height>300</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>WizardPage</string>
+  </property>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
diff -r 85653d5d3bf9 -r e9e1b704af11 Project/ProjectFormsBrowser.py
--- a/Project/ProjectFormsBrowser.py	Wed Feb 15 14:27:43 2012 +0100
+++ b/Project/ProjectFormsBrowser.py	Wed Feb 15 15:49:44 2012 +0100
@@ -77,8 +77,8 @@
         self.templates4 = ['dialog4.tmpl', 'widget4.tmpl', 'mainwindow4.tmpl',
             'dialogbuttonboxbottom4.tmpl', 'dialogbuttonboxright4.tmpl',
             'dialogbuttonsbottom4.tmpl', 'dialogbuttonsbottomcenter4.tmpl',
-            'dialogbuttonsright4.tmpl']
-        self.templateTypes4 = [ \
+            'dialogbuttonsright4.tmpl', 'wizard4.tmpl', 'wizardpage4.tmpl']
+        self.templateTypes4 = [
             self.trUtf8("Dialog"),
             self.trUtf8("Widget"),
             self.trUtf8("Main Window"),
@@ -87,6 +87,8 @@
             self.trUtf8("Dialog with Buttons (Bottom)"),
             self.trUtf8("Dialog with Buttons (Bottom-Center)"),
             self.trUtf8("Dialog with Buttons (Right)"),
+            self.trUtf8("Wizard"),
+            self.trUtf8("Wizard Page"),
         ]
         
         self.compileProc = None

eric ide

mercurial