diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-04-02 02:46:34 -0400 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-04-02 02:46:34 -0400 |
| commit | ab5098e9cbfd4ed07c4936fc0e331365395e6dfd (patch) | |
| tree | acb3f71d7ce74191a82c4ad6884bb662ae355479 | |
| parent | b43cd3716eebfc46de1af1bcc1ec94bc8ebfeca2 (diff) | |
| download | sigen-ab5098e9cbfd4ed07c4936fc0e331365395e6dfd.tar.gz sigen-ab5098e9cbfd4ed07c4936fc0e331365395e6dfd.tar.xz sigen-ab5098e9cbfd4ed07c4936fc0e331365395e6dfd.zip | |
Add world map editing gui
| -rw-r--r-- | sigmodr/widgets/gui/widgetsui.qrc | 1 | ||||
| -rw-r--r-- | sigmodr/widgets/gui/worldmapeditor.ui | 113 |
2 files changed, 114 insertions, 0 deletions
diff --git a/sigmodr/widgets/gui/widgetsui.qrc b/sigmodr/widgets/gui/widgetsui.qrc index cd6e6c9d..23a9033b 100644 --- a/sigmodr/widgets/gui/widgetsui.qrc +++ b/sigmodr/widgets/gui/widgetsui.qrc @@ -34,5 +34,6 @@ <file>trainer.ui</file> <file>type.ui</file> <file>weather.ui</file> + <file>worldmapeditor.ui</file> </qresource> </RCC> diff --git a/sigmodr/widgets/gui/worldmapeditor.ui b/sigmodr/widgets/gui/worldmapeditor.ui new file mode 100644 index 00000000..0d921bf8 --- /dev/null +++ b/sigmodr/widgets/gui/worldmapeditor.ui @@ -0,0 +1,113 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>formWorldMapEditor</class> + <widget class="QWidget" name="formWorldMapEditor"> + <property name="sizePolicy"> + <sizepolicy vsizetype="Expanding" hsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="KIntNumInput" name="varGridSize"> + <property name="toolTip"> + <string/> + </property> + <property name="statusTip"> + <string/> + </property> + <property name="whatsThis"> + <string/> + </property> + <property name="label"> + <string>Grid Size</string> + </property> + <property name="minimum"> + <number>0</number> + </property> + </widget> + </item> + <item row="0" column="1"> + <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> + </widget> + </item> + <item row="1" column="0"> + <widget class="QCheckBox" name="varDrawMasked"> + <property name="toolTip"> + <string/> + </property> + <property name="statusTip"> + <string/> + </property> + <property name="whatsThis"> + <string/> + </property> + <property name="text"> + <string>Show walkable area</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QCheckBox" name="varWatchCollisions"> + <property name="toolTip"> + <string/> + </property> + <property name="statusTip"> + <string/> + </property> + <property name="whatsThis"> + <string/> + </property> + <property name="text"> + <string>Allow collisions</string> + </property> + </widget> + </item> + <item row="2" column="0" colspan="2"> + <widget class="QGraphicsView" name="varView"> + <property name="toolTip"> + <string/> + </property> + <property name="statusTip"> + <string/> + </property> + <property name="whatsThis"> + <string/> + </property> + </widget> + </item> + </layout> + </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> + </customwidget> + </customwidgets> + <tabstops> + <tabstop>varGridSize</tabstop> + <tabstop>varZoom</tabstop> + <tabstop>varDrawMasked</tabstop> + <tabstop>varWatchCollisions</tabstop> + <tabstop>varView</tabstop> + </tabstops> +</ui> |
