399 lines
13 KiB
Text
399 lines
13 KiB
Text
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>MainTerrainForm</class>
|
||
|
<widget class="QWidget" name="MainTerrainForm">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>1073</width>
|
||
|
<height>662</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Form</string>
|
||
|
</property>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
|
<item>
|
||
|
<widget class="QWidget" name="verticalWidget" native="true">
|
||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||
|
<property name="spacing">
|
||
|
<number>15</number>
|
||
|
</property>
|
||
|
<property name="sizeConstraint">
|
||
|
<enum>QLayout::SetDefaultConstraint</enum>
|
||
|
</property>
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox_2">
|
||
|
<property name="title">
|
||
|
<string>Infinite base shape</string>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_9">
|
||
|
<item>
|
||
|
<widget class="QWidget" name="widget" native="true">
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="pushButton">
|
||
|
<property name="text">
|
||
|
<string>Generate base noise</string>
|
||
|
</property>
|
||
|
<property name="flat">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QWidget" name="widget_6" native="true">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
|
<horstretch>1</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>80</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>16777215</width>
|
||
|
<height>150</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
<zorder>groupBox_1</zorder>
|
||
|
<zorder>widget</zorder>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox_3">
|
||
|
<property name="title">
|
||
|
<string>Manual modifications</string>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_8">
|
||
|
<item>
|
||
|
<widget class="QWidget" name="widget_5" native="true">
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="pushButton_7">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Sculpt the terrain shape</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="label_5">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>{ heightmap info }</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox_1">
|
||
|
<property name="title">
|
||
|
<string>Global modifiers</string>
|
||
|
</property>
|
||
|
<property name="flat">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
||
|
<item>
|
||
|
<widget class="QLabel" name="label_6">
|
||
|
<property name="text">
|
||
|
<string><html><head/><body><p><span style=" font-style:italic;">These modifiers change the base shape and manual modifications altogether</span></p></body></html></string>
|
||
|
</property>
|
||
|
<property name="textFormat">
|
||
|
<enum>Qt::RichText</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QWidget" name="widget_3" native="true">
|
||
|
<layout class="QFormLayout" name="formLayout_4">
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLabel" name="label">
|
||
|
<property name="text">
|
||
|
<string>Scaling</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QSlider" name="horizontalSlider">
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>400</width>
|
||
|
<height>16777215</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QLabel" name="label_2">
|
||
|
<property name="text">
|
||
|
<string>Height</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QSlider" name="horizontalSlider_2">
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>400</width>
|
||
|
<height>16777215</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox_6">
|
||
|
<property name="title">
|
||
|
<string>Rendering control</string>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||
|
<item>
|
||
|
<widget class="QWidget" name="widget_4" native="true">
|
||
|
<layout class="QFormLayout" name="formLayout_2">
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLabel" name="label_3">
|
||
|
<property name="text">
|
||
|
<string>Shadow smoothing</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QSlider" name="horizontalSlider_3">
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>400</width>
|
||
|
<height>16777215</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox_7">
|
||
|
<property name="title">
|
||
|
<string>Links to other modules</string>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||
|
<item>
|
||
|
<widget class="QWidget" name="formWidget" native="true">
|
||
|
<layout class="QFormLayout" name="formLayout_3">
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLabel" name="label_4">
|
||
|
<property name="text">
|
||
|
<string>Relative water height</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QSlider" name="horizontalSlider_4">
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>400</width>
|
||
|
<height>16777215</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="pushButton_2">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>500</width>
|
||
|
<height>16777215</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Go to textures to add small height displacements (rocks...)</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="Line" name="line">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Vertical</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox">
|
||
|
<property name="title">
|
||
|
<string>Result preview</string>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||
|
<item>
|
||
|
<widget class="BasePreview" name="widget_2" native="true">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>200</width>
|
||
|
<height>200</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>200</width>
|
||
|
<height>200</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="pushButton_3">
|
||
|
<property name="text">
|
||
|
<string>Render preview</string>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="../../../data/ui_pictures.qrc">
|
||
|
<normaloff>:/buttons/logo/images/render.png</normaloff>:/buttons/logo/images/render.png</iconset>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="pushButton_4">
|
||
|
<property name="text">
|
||
|
<string>Explore in 3D</string>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="../../../data/ui_pictures.qrc">
|
||
|
<normaloff>:/buttons/logo/images/explore.png</normaloff>:/buttons/logo/images/explore.png</iconset>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</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>
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox_4">
|
||
|
<property name="title">
|
||
|
<string>Actions</string>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="pushButton_6">
|
||
|
<property name="text">
|
||
|
<string>Revert modifications</string>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="../../../data/ui_pictures.qrc">
|
||
|
<normaloff>:/buttons/logo/images/revert.png</normaloff>:/buttons/logo/images/revert.png</iconset>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="pushButton_5">
|
||
|
<property name="text">
|
||
|
<string>Apply modifications</string>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="../../../data/ui_pictures.qrc">
|
||
|
<normaloff>:/buttons/logo/images/apply.png</normaloff>:/buttons/logo/images/apply.png</iconset>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<customwidgets>
|
||
|
<customwidget>
|
||
|
<class>BasePreview</class>
|
||
|
<extends>QWidget</extends>
|
||
|
<header>basepreview.h</header>
|
||
|
<container>1</container>
|
||
|
</customwidget>
|
||
|
</customwidgets>
|
||
|
<resources>
|
||
|
<include location="../../../data/ui_pictures.qrc"/>
|
||
|
</resources>
|
||
|
<connections/>
|
||
|
</ui>
|