2013-05-05 13:37:06 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>DialogTerrainPainting</class>
|
|
|
|
<widget class="QDialog" name="DialogTerrainPainting">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2013-05-25 13:46:00 +00:00
|
|
|
<width>1145</width>
|
|
|
|
<height>777</height>
|
2013-05-05 13:37:06 +00:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Paysages 3D - Terrain painting</string>
|
|
|
|
</property>
|
|
|
|
<property name="sizeGripEnabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="modal">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
2013-05-10 15:40:49 +00:00
|
|
|
<widget class="QWidget" name="verticalWidget2" native="true">
|
2013-05-05 13:37:06 +00:00
|
|
|
<property name="sizePolicy">
|
2013-05-10 15:40:49 +00:00
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
2013-05-05 13:37:06 +00:00
|
|
|
<horstretch>1</horstretch>
|
2013-05-10 15:40:49 +00:00
|
|
|
<verstretch>1</verstretch>
|
2013-05-05 13:37:06 +00:00
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2013-05-10 15:40:49 +00:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="0,0,0">
|
|
|
|
<property name="sizeConstraint">
|
|
|
|
<enum>QLayout::SetDefaultConstraint</enum>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>20</number>
|
|
|
|
</property>
|
2013-06-20 15:38:23 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_21">
|
|
|
|
<property name="text">
|
|
|
|
<string>Display :</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-05-10 15:40:49 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="checkBox">
|
|
|
|
<property name="text">
|
|
|
|
<string>Water</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="checkBox_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>Grid</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-06-20 15:38:23 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="checkBox_3">
|
|
|
|
<property name="text">
|
|
|
|
<string>Painted area</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-05-10 15:40:49 +00:00
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_3">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="pushButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Commands</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../../../data/ui_pictures.qrc">
|
|
|
|
<normaloff>:/buttons/logo/images/about.png</normaloff>:/buttons/logo/images/about.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>16</width>
|
|
|
|
<height>16</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string notr="true">F1</string>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget_commands" native="true">
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true"/>
|
|
|
|
</property>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
|
|
<item alignment="Qt::AlignTop">
|
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Shortcuts</string>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
|
|
<item>
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<property name="horizontalSpacing">
|
|
|
|
<number>16</number>
|
|
|
|
</property>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QLabel" name="label_9">
|
|
|
|
<property name="text">
|
|
|
|
<string>Switch to raise/lower tool</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QLabel" name="label_10">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>F3</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QLabel" name="label_6">
|
|
|
|
<property name="text">
|
|
|
|
<string>Show these commands</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0">
|
|
|
|
<widget class="QLabel" name="label_12">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>F4</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>F1</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="label_8">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>F2</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QLabel" name="label_11">
|
|
|
|
<property name="text">
|
|
|
|
<string>Switch to noise/smooth tool</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="1">
|
|
|
|
<widget class="QLabel" name="label_13">
|
|
|
|
<property name="text">
|
|
|
|
<string>Switch to flatten tool</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-06-20 15:45:26 +00:00
|
|
|
<item row="4" column="0">
|
2013-05-10 15:40:49 +00:00
|
|
|
<widget class="QLabel" name="label_16">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>F12</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-06-20 15:45:26 +00:00
|
|
|
<item row="4" column="1">
|
2013-05-10 15:40:49 +00:00
|
|
|
<widget class="QLabel" name="label_17">
|
|
|
|
<property name="text">
|
|
|
|
<string>Switch to restore tool</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="Line" name="line">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item alignment="Qt::AlignTop">
|
|
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Brush control</string>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|
|
|
<item>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
<property name="horizontalSpacing">
|
|
|
|
<number>16</number>
|
|
|
|
</property>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QLabel" name="label_18">
|
|
|
|
<property name="text">
|
|
|
|
<string>Set brush smoothing</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QLabel" name="label_19">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>SHIFT + Mouse wheel</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QLabel" name="label_20">
|
|
|
|
<property name="text">
|
|
|
|
<string>Set brush size</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="label_22">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>CTRL + Mouse wheel</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="label_23">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>ALT + Mouse wheel</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QLabel" name="label_25">
|
|
|
|
<property name="text">
|
|
|
|
<string>Set brush strength</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="Line" name="line_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item alignment="Qt::AlignTop">
|
|
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Camera control</string>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
|
|
|
<item>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
|
<property name="horizontalSpacing">
|
|
|
|
<number>16</number>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="label_34">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Mouse wheel</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="label_35">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Borders</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QLabel" name="label_30">
|
|
|
|
<property name="text">
|
|
|
|
<string>Scroll view</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QLabel" name="label_32">
|
|
|
|
<property name="text">
|
|
|
|
<string>Zoom</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="WidgetHeightMap" name="widget_heightmap" native="true">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
|
<horstretch>1</horstretch>
|
|
|
|
<verstretch>1</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>400</width>
|
|
|
|
<height>400</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2013-05-05 13:37:06 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="verticalWidget" native="true">
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>450</width>
|
|
|
|
<height>16777215</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget_2" native="true">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
|
|
<item>
|
|
|
|
<layout class="QFormLayout" name="formLayout">
|
|
|
|
<property name="fieldGrowthPolicy">
|
|
|
|
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>Brush Tool : </string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QComboBox" name="input_brush_mode">
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2013-05-10 15:40:49 +00:00
|
|
|
<string>Raise / Lower (F2)</string>
|
2013-05-05 13:37:06 +00:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2013-05-10 15:40:49 +00:00
|
|
|
<string>Add noise / Smooth (F3)</string>
|
2013-05-05 13:37:06 +00:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2013-05-10 15:40:49 +00:00
|
|
|
<string>Flatten terrain (F4)</string>
|
2013-05-05 13:37:06 +00:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Restore to default (F12)</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="text">
|
|
|
|
<string>Brush size :</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QSlider" name="input_brush_size">
|
|
|
|
<property name="minimum">
|
|
|
|
<number>5</number>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>100</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>20</number>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
<property name="text">
|
|
|
|
<string>Brush smoothing :</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QSlider" name="input_brush_smoothing">
|
|
|
|
<property name="maximum">
|
|
|
|
<number>100</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>80</number>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0">
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
<property name="text">
|
|
|
|
<string>Brush strength :</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="1">
|
|
|
|
<widget class="QSlider" name="input_brush_strength">
|
|
|
|
<property name="minimum">
|
|
|
|
<number>10</number>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>100</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>20</number>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
2013-05-05 16:42:55 +00:00
|
|
|
<widget class="QLabel" name="label_brush_description">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>100</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::Panel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
|
</property>
|
2013-05-05 13:37:06 +00:00
|
|
|
<property name="text">
|
|
|
|
<string notr="true">{ Brush information }</string>
|
|
|
|
</property>
|
2013-05-05 16:42:55 +00:00
|
|
|
<property name="textFormat">
|
|
|
|
<enum>Qt::RichText</enum>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2013-05-05 13:37:06 +00:00
|
|
|
<property name="margin">
|
|
|
|
<number>20</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2013-06-20 15:45:26 +00:00
|
|
|
<widget class="QWidget" name="brush_preview" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="container_brush_preview">
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>8</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_7">
|
|
|
|
<property name="text">
|
|
|
|
<string>Brush preview :</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget_brush_preview" native="true">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>200</width>
|
|
|
|
<height>200</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2013-05-05 13:37:06 +00:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<property name="sizeConstraint">
|
|
|
|
<enum>QLayout::SetDefaultConstraint</enum>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QProgressBar" name="progress_memory_consumption">
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>150</width>
|
|
|
|
<height>16777215</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>24</number>
|
|
|
|
</property>
|
|
|
|
<property name="textVisible">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_memory_consumption">
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">{ memory consumption }</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="WidgetGlobalFormButtons" name="widget_4" native="true">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>100</width>
|
|
|
|
<height>30</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>WidgetGlobalFormButtons</class>
|
|
|
|
<extends>QWidget</extends>
|
|
|
|
<header>common/widgetglobalformbuttons.h</header>
|
|
|
|
<container>1</container>
|
|
|
|
<slots>
|
|
|
|
<signal>okClicked()</signal>
|
|
|
|
<signal>revertClicked()</signal>
|
|
|
|
<signal>cancelClicked()</signal>
|
|
|
|
</slots>
|
|
|
|
</customwidget>
|
|
|
|
<customwidget>
|
|
|
|
<class>WidgetHeightMap</class>
|
|
|
|
<extends>QWidget</extends>
|
2013-06-03 20:03:52 +00:00
|
|
|
<header>terrain/widgetheightmap.h</header>
|
2013-05-05 13:37:06 +00:00
|
|
|
<container>1</container>
|
|
|
|
<slots>
|
|
|
|
<signal>heightmapChanged()</signal>
|
2013-05-10 15:40:49 +00:00
|
|
|
<slot>toggleWater(bool)</slot>
|
|
|
|
<slot>toggleGrid(bool)</slot>
|
2013-06-20 15:38:23 +00:00
|
|
|
<slot>togglePaintedArea(bool)</slot>
|
2013-05-05 13:37:06 +00:00
|
|
|
</slots>
|
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
|
|
|
<tabstops>
|
|
|
|
<tabstop>input_brush_mode</tabstop>
|
|
|
|
<tabstop>input_brush_size</tabstop>
|
|
|
|
<tabstop>input_brush_smoothing</tabstop>
|
|
|
|
<tabstop>input_brush_strength</tabstop>
|
|
|
|
</tabstops>
|
2013-05-10 15:40:49 +00:00
|
|
|
<resources>
|
|
|
|
<include location="../../../data/ui_pictures.qrc"/>
|
|
|
|
</resources>
|
2013-05-05 13:37:06 +00:00
|
|
|
<connections>
|
|
|
|
<connection>
|
2013-05-05 16:42:55 +00:00
|
|
|
<sender>input_brush_smoothing</sender>
|
2013-05-05 13:37:06 +00:00
|
|
|
<signal>valueChanged(int)</signal>
|
|
|
|
<receiver>DialogTerrainPainting</receiver>
|
|
|
|
<slot>brushConfigChanged()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2013-05-10 15:40:49 +00:00
|
|
|
<x>919</x>
|
|
|
|
<y>94</y>
|
2013-05-05 13:37:06 +00:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>437</x>
|
2013-05-05 16:42:55 +00:00
|
|
|
<y>102</y>
|
2013-05-05 13:37:06 +00:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
2013-05-05 16:42:55 +00:00
|
|
|
<sender>input_brush_mode</sender>
|
|
|
|
<signal>currentIndexChanged(int)</signal>
|
2013-05-05 13:37:06 +00:00
|
|
|
<receiver>DialogTerrainPainting</receiver>
|
|
|
|
<slot>brushConfigChanged()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2013-05-25 13:46:00 +00:00
|
|
|
<x>1115</x>
|
|
|
|
<y>53</y>
|
2013-05-05 13:37:06 +00:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>437</x>
|
2013-05-05 16:42:55 +00:00
|
|
|
<y>40</y>
|
2013-05-05 13:37:06 +00:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>input_brush_strength</sender>
|
|
|
|
<signal>valueChanged(int)</signal>
|
|
|
|
<receiver>DialogTerrainPainting</receiver>
|
|
|
|
<slot>brushConfigChanged()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2013-05-25 13:46:00 +00:00
|
|
|
<x>1115</x>
|
|
|
|
<y>143</y>
|
2013-05-05 13:37:06 +00:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>437</x>
|
|
|
|
<y>132</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
2013-05-05 16:42:55 +00:00
|
|
|
<sender>input_brush_size</sender>
|
|
|
|
<signal>valueChanged(int)</signal>
|
2013-05-05 13:37:06 +00:00
|
|
|
<receiver>DialogTerrainPainting</receiver>
|
|
|
|
<slot>brushConfigChanged()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2013-05-10 15:40:49 +00:00
|
|
|
<x>919</x>
|
|
|
|
<y>73</y>
|
2013-05-05 13:37:06 +00:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>437</x>
|
2013-05-05 16:42:55 +00:00
|
|
|
<y>72</y>
|
2013-05-05 13:37:06 +00:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>widget_4</sender>
|
2013-05-05 16:42:55 +00:00
|
|
|
<signal>cancelClicked()</signal>
|
2013-05-05 13:37:06 +00:00
|
|
|
<receiver>DialogTerrainPainting</receiver>
|
2013-05-05 16:42:55 +00:00
|
|
|
<slot>reject()</slot>
|
2013-05-05 13:37:06 +00:00
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2013-05-25 13:46:00 +00:00
|
|
|
<x>1134</x>
|
|
|
|
<y>766</y>
|
2013-05-05 13:37:06 +00:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
2013-05-05 16:42:55 +00:00
|
|
|
<x>711</x>
|
2013-05-10 15:40:49 +00:00
|
|
|
<y>597</y>
|
2013-05-05 13:37:06 +00:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>widget_4</sender>
|
2013-05-05 16:42:55 +00:00
|
|
|
<signal>okClicked()</signal>
|
2013-05-05 13:37:06 +00:00
|
|
|
<receiver>DialogTerrainPainting</receiver>
|
2013-05-05 16:42:55 +00:00
|
|
|
<slot>accept()</slot>
|
2013-05-05 13:37:06 +00:00
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2013-05-25 13:46:00 +00:00
|
|
|
<x>1134</x>
|
|
|
|
<y>766</y>
|
2013-05-05 13:37:06 +00:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
2013-05-05 16:42:55 +00:00
|
|
|
<x>683</x>
|
2013-05-10 15:40:49 +00:00
|
|
|
<y>597</y>
|
2013-05-05 13:37:06 +00:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>widget_4</sender>
|
|
|
|
<signal>revertClicked()</signal>
|
|
|
|
<receiver>DialogTerrainPainting</receiver>
|
|
|
|
<slot>revert()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2013-05-25 13:46:00 +00:00
|
|
|
<x>1134</x>
|
|
|
|
<y>766</y>
|
2013-05-05 13:37:06 +00:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>747</x>
|
2013-05-10 15:40:49 +00:00
|
|
|
<y>597</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>checkBox</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>widget_heightmap</receiver>
|
|
|
|
<slot>toggleWater(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2013-06-20 15:38:23 +00:00
|
|
|
<x>153</x>
|
2013-05-25 13:46:00 +00:00
|
|
|
<y>43</y>
|
2013-05-10 15:40:49 +00:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
2013-05-25 13:46:00 +00:00
|
|
|
<x>58</x>
|
|
|
|
<y>480</y>
|
2013-05-10 15:40:49 +00:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>checkBox_2</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>widget_heightmap</receiver>
|
|
|
|
<slot>toggleGrid(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2013-06-20 15:38:23 +00:00
|
|
|
<x>234</x>
|
|
|
|
<y>43</y>
|
2013-05-10 15:40:49 +00:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
2013-05-25 13:46:00 +00:00
|
|
|
<x>121</x>
|
|
|
|
<y>463</y>
|
2013-05-10 15:40:49 +00:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>widget_heightmap</sender>
|
|
|
|
<signal>heightmapChanged()</signal>
|
|
|
|
<receiver>DialogTerrainPainting</receiver>
|
|
|
|
<slot>heightmapChanged()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>465</x>
|
|
|
|
<y>523</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>481</x>
|
|
|
|
<y>569</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>pushButton</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>widget_commands</receiver>
|
2013-05-25 13:46:00 +00:00
|
|
|
<slot>setVisible(bool)</slot>
|
2013-05-10 15:40:49 +00:00
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2013-05-25 13:46:00 +00:00
|
|
|
<x>734</x>
|
|
|
|
<y>40</y>
|
2013-05-10 15:40:49 +00:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
2013-05-25 13:46:00 +00:00
|
|
|
<x>536</x>
|
|
|
|
<y>104</y>
|
2013-05-05 13:37:06 +00:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2013-06-20 15:38:23 +00:00
|
|
|
<connection>
|
|
|
|
<sender>checkBox_3</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>widget_heightmap</receiver>
|
|
|
|
<slot>togglePaintedArea(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>307</x>
|
|
|
|
<y>33</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>377</x>
|
|
|
|
<y>519</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2013-05-05 13:37:06 +00:00
|
|
|
</connections>
|
|
|
|
<slots>
|
|
|
|
<slot>brushConfigChanged()</slot>
|
|
|
|
<slot>heightmapChanged()</slot>
|
|
|
|
<slot>revert()</slot>
|
2013-05-10 15:40:49 +00:00
|
|
|
<slot>displayCommands()</slot>
|
2013-05-05 13:37:06 +00:00
|
|
|
</slots>
|
|
|
|
</ui>
|