summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-04-01 00:57:07 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-04-01 00:57:07 -0400
commitb1846e343aabe004f8ed50a3de4e2ae8c0a86da6 (patch)
treed7e1f47939df3512514e00fd9add0e7a376db65b
parent794dac5b5c4487abb23defe60a218fd10f80e1f9 (diff)
Add zoom widget for the view
-rw-r--r--sigmodr/widgets/gui/mapeditor.ui46
1 files changed, 35 insertions, 11 deletions
diff --git a/sigmodr/widgets/gui/mapeditor.ui b/sigmodr/widgets/gui/mapeditor.ui
index c052433f..6045f078 100644
--- a/sigmodr/widgets/gui/mapeditor.ui
+++ b/sigmodr/widgets/gui/mapeditor.ui
@@ -8,7 +8,7 @@
</sizepolicy>
</property>
<layout class="QGridLayout" name="gridLayout" >
- <item rowspan="9" row="0" column="0" colspan="4" >
+ <item rowspan="10" row="0" column="0" colspan="4" >
<widget class="QGraphicsView" name="varView" >
<property name="toolTip" >
<string/>
@@ -79,6 +79,25 @@
</widget>
</item>
<item row="3" column="4" >
+ <widget class="KDoubleNumInput" name="varZoom" >
+ <property name="toolTip" >
+ <string/>
+ </property>
+ <property name="statusTip" >
+ <string/>
+ </property>
+ <property name="whatsThis" >
+ <string/>
+ </property>
+ <property name="label" >
+ <string>Zoom</string>
+ </property>
+ <property name="value" >
+ <double>1</double>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="4" >
<widget class="KPushButton" name="buttonAdd" >
<property name="toolTip" >
<string/>
@@ -94,7 +113,7 @@
</property>
</widget>
</item>
- <item row="4" column="4" >
+ <item row="5" column="4" >
<widget class="KPushButton" name="buttonRemove" >
<property name="toolTip" >
<string/>
@@ -110,7 +129,7 @@
</property>
</widget>
</item>
- <item row="5" column="4" >
+ <item row="6" column="4" >
<widget class="KPushButton" name="buttonTop" >
<property name="toolTip" >
<string/>
@@ -123,7 +142,7 @@
</property>
</widget>
</item>
- <item row="6" column="4" >
+ <item row="7" column="4" >
<widget class="KPushButton" name="buttonUp" >
<property name="toolTip" >
<string/>
@@ -136,7 +155,7 @@
</property>
</widget>
</item>
- <item row="7" column="4" >
+ <item row="8" column="4" >
<widget class="KPushButton" name="buttonDown" >
<property name="toolTip" >
<string/>
@@ -149,7 +168,7 @@
</property>
</widget>
</item>
- <item row="8" column="4" >
+ <item row="9" column="4" >
<widget class="KPushButton" name="buttonBottom" >
<property name="toolTip" >
<string/>
@@ -162,7 +181,7 @@
</property>
</widget>
</item>
- <item row="9" column="0" >
+ <item row="10" column="0" >
<widget class="QCheckBox" name="varShowEffects" >
<property name="toolTip" >
<string/>
@@ -184,7 +203,7 @@
</property>
</widget>
</item>
- <item row="9" column="1" >
+ <item row="10" column="1" >
<widget class="QCheckBox" name="varShowTiles" >
<property name="toolTip" >
<string/>
@@ -206,7 +225,7 @@
</property>
</widget>
</item>
- <item row="9" column="2" >
+ <item row="10" column="2" >
<widget class="QCheckBox" name="varShowTrainers" >
<property name="toolTip" >
<string/>
@@ -228,7 +247,7 @@
</property>
</widget>
</item>
- <item row="9" column="3" >
+ <item row="10" column="3" >
<widget class="QCheckBox" name="varShowWarps" >
<property name="toolTip" >
<string/>
@@ -250,7 +269,7 @@
</property>
</widget>
</item>
- <item row="9" column="4" >
+ <item row="10" column="4" >
<widget class="QCheckBox" name="varDrawMask" >
<property name="toolTip" >
<string/>
@@ -270,6 +289,11 @@
</widget>
<customwidgets>
<customwidget>
+ <class>KDoubleNumInput</class>
+ <extends>QWidget</extends>
+ <header location="global" >KDoubleNumInput</header>
+ </customwidget>
+ <customwidget>
<class>KIntNumInput</class>
<extends>QWidget</extends>
<header location="global" >KIntNumInput</header>