1114 lines
35 KiB
Plaintext
1114 lines
35 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>MainWindow</class>
|
||
|
<widget class="QMainWindow" name="MainWindow">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>760</width>
|
||
|
<height>453</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>MinetestMapper GUI</string>
|
||
|
</property>
|
||
|
<property name="windowIcon">
|
||
|
<iconset resource="minetestmappergui.qrc">
|
||
|
<normaloff>:/minetest</normaloff>:/minetest</iconset>
|
||
|
</property>
|
||
|
<widget class="QWidget" name="centralWidget">
|
||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||
|
<item>
|
||
|
<widget class="QTabWidget" name="tabWidget">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>543</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="tabShape">
|
||
|
<enum>QTabWidget::Rounded</enum>
|
||
|
</property>
|
||
|
<property name="currentIndex">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<widget class="QWidget" name="tab">
|
||
|
<attribute name="title">
|
||
|
<string>General</string>
|
||
|
</attribute>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox_2">
|
||
|
<property name="title">
|
||
|
<string>Select World dir</string>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout">
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLineEdit" name="path_World">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>133</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="statusTip">
|
||
|
<string>Select the world directory, wich contains the world Database</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string notr="true"/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QPushButton" name="browseWorld">
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>157</width>
|
||
|
<height>16777215</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>browse</string>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="minetestmappergui.qrc">
|
||
|
<normaloff>:/open</normaloff>:/open</iconset>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox_4">
|
||
|
<property name="title">
|
||
|
<string>Output Image</string>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout_2">
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QPushButton" name="saveImage">
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>157</width>
|
||
|
<height>16777215</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Save as</string>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="minetestmappergui.qrc">
|
||
|
<normaloff>:/save</normaloff>:/save</iconset>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLineEdit" name="path_OutputImage">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="statusTip">
|
||
|
<string>Specify the map file name (mandatory)</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string notr="true"/>
|
||
|
</property>
|
||
|
<property name="placeholderText">
|
||
|
<string>map.png</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="verticalSpacer_2">
|
||
|
<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>
|
||
|
<widget class="QWidget" name="tab_4">
|
||
|
<attribute name="title">
|
||
|
<string>Map-Limit</string>
|
||
|
</attribute>
|
||
|
<layout class="QFormLayout" name="formLayout">
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLabel" name="label">
|
||
|
<property name="text">
|
||
|
<string>scalefactor</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QComboBox" name="comboBox">
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<property name="currentText">
|
||
|
<string notr="true">1:1</string>
|
||
|
</property>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>1:1</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>1:2</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>1:4</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>1:8</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>1:16</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QLabel" name="label_2">
|
||
|
<property name="text">
|
||
|
<string>geometry</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QLineEdit" name="lineEdit">
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="0">
|
||
|
<widget class="QLabel" name="label_3">
|
||
|
<property name="text">
|
||
|
<string>cornergeometry</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="1">
|
||
|
<widget class="QLineEdit" name="lineEdit_2">
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="3" column="0">
|
||
|
<widget class="QLabel" name="label_5">
|
||
|
<property name="text">
|
||
|
<string>centergeometry</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="3" column="1">
|
||
|
<widget class="QLineEdit" name="lineEdit_3">
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="4" column="0">
|
||
|
<widget class="QLabel" name="label_6">
|
||
|
<property name="text">
|
||
|
<string>min-y</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="4" column="1">
|
||
|
<widget class="QSpinBox" name="minY">
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<property name="statusTip">
|
||
|
<string> Specify the minumum depth of nodes to be included</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="5" column="0">
|
||
|
<widget class="QLabel" name="label_7">
|
||
|
<property name="text">
|
||
|
<string>max-y</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="5" column="1">
|
||
|
<widget class="QSpinBox" name="maxY">
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="6" column="0">
|
||
|
<widget class="QLabel" name="label_8">
|
||
|
<property name="text">
|
||
|
<string>geometrymode</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="6" column="1">
|
||
|
<widget class="QComboBox" name="comboBox_2">
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>none</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>pixel</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>block</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>fixed</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>shrink</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<widget class="QWidget" name="tab_2">
|
||
|
<attribute name="title">
|
||
|
<string>Heightmap</string>
|
||
|
</attribute>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||
|
<item>
|
||
|
<widget class="QScrollArea" name="scrollArea">
|
||
|
<property name="autoFillBackground">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="frameShape">
|
||
|
<enum>QFrame::NoFrame</enum>
|
||
|
</property>
|
||
|
<property name="lineWidth">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<property name="widgetResizable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<widget class="QWidget" name="scrollAreaWidgetContents">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>502</width>
|
||
|
<height>390</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
||
|
<item>
|
||
|
<widget class="QCheckBox" name="generateHeightmap">
|
||
|
<property name="toolTip">
|
||
|
<string>Generate a height map instead of a regular map</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string> Generate a height map instead of a regular map</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox_5">
|
||
|
<property name="title">
|
||
|
<string>Heightmap nodes</string>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout_4">
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLineEdit" name="path_HeightmapNodes">
|
||
|
<property name="statusTip">
|
||
|
<string>Specify the nodes list for the height map</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string notr="true">./colors/heightmap-nodes.txt</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QPushButton" name="browseHeightmapNodes">
|
||
|
<property name="text">
|
||
|
<string>browse</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox_6">
|
||
|
<property name="title">
|
||
|
<string>Heightmap colors</string>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout_3">
|
||
|
<item row="2" column="2">
|
||
|
<widget class="QPushButton" name="browse_HeightmapColors">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="statusTip">
|
||
|
<string>Specify the color definition file for the height map</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>browse</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="1">
|
||
|
<widget class="QLineEdit" name="path_HeightmapColors">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="statusTip">
|
||
|
<string>Specify the color definition file for the height map</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string notr="true">./colors/heightmap-colors.txt</string>
|
||
|
</property>
|
||
|
<property name="placeholderText">
|
||
|
<string>heightmap-colors.txt</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QLineEdit" name="colorHeightmap">
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<property name="whatsThis">
|
||
|
<string>a monochrome map is generated in shades of that color, ranging from black at depth -128 to the given color at height 127.</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string notr="true"/>
|
||
|
</property>
|
||
|
<property name="placeholderText">
|
||
|
<string>e.g. grey,black, #00FF00</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="2">
|
||
|
<widget class="QPushButton" name="pushButton">
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>select color</string>
|
||
|
</property>
|
||
|
<property name="checkable">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QRadioButton" name="radioButton_heightmapColor">
|
||
|
<property name="statusTip">
|
||
|
<string>If a color is given, a monochrome map is generated in shades of that color, ranging from black at depth -128 to the given color at height 127.</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Color</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="0">
|
||
|
<widget class="QRadioButton" name="radioButton_heightmapFile">
|
||
|
<property name="statusTip">
|
||
|
<string>If no color is specified, minetestmapper will use a colors file to determine which colors to use at which height level.</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>File</string>
|
||
|
</property>
|
||
|
<property name="checked">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="0" colspan="3">
|
||
|
<widget class="QLabel" name="label_4">
|
||
|
<property name="text">
|
||
|
<string>use color or select a heightmap-colors.txt file</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox_7">
|
||
|
<property name="title">
|
||
|
<string>heightmap Skale</string>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout_6">
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QCheckBox" name="drawHeightscale">
|
||
|
<property name="statusTip">
|
||
|
<string>Draw a height scale at the bottom of the map</string>
|
||
|
</property>
|
||
|
<property name="whatsThis">
|
||
|
<string>Draw a height scale at the bottom of the map</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Draw Heightscale</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QGroupBox" name="groupBox_8">
|
||
|
<property name="title">
|
||
|
<string>Major</string>
|
||
|
</property>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||
|
<item>
|
||
|
<widget class="QSpinBox" name="spinBox_3">
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="2">
|
||
|
<widget class="QGroupBox" name="groupBox_9">
|
||
|
<property name="title">
|
||
|
<string>Minor</string>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||
|
<item>
|
||
|
<widget class="QSpinBox" name="spinBox_4">
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox_10">
|
||
|
<property name="title">
|
||
|
<string>other</string>
|
||
|
</property>
|
||
|
<layout class="QFormLayout" name="formLayout_2">
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLabel" name="label_11">
|
||
|
<property name="text">
|
||
|
<string>Y-scale</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QDoubleSpinBox" name="heightmapYscale">
|
||
|
<property name="maximum">
|
||
|
<double>10.000000000000000</double>
|
||
|
</property>
|
||
|
<property name="singleStep">
|
||
|
<double>0.200000000000000</double>
|
||
|
</property>
|
||
|
<property name="value">
|
||
|
<double>1.000000000000000</double>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QLabel" name="label_12">
|
||
|
<property name="text">
|
||
|
<string>Height level 0</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QSpinBox" name="heightLevel0">
|
||
|
<property name="minimum">
|
||
|
<number>-100</number>
|
||
|
</property>
|
||
|
<property name="maximum">
|
||
|
<number>100</number>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="verticalSpacer_3">
|
||
|
<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>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<widget class="QWidget" name="tab_6">
|
||
|
<attribute name="title">
|
||
|
<string>Map features</string>
|
||
|
</attribute>
|
||
|
<layout class="QGridLayout" name="gridLayout_5">
|
||
|
<item row="1" column="2">
|
||
|
<widget class="QGroupBox" name="groupBox_3">
|
||
|
<property name="title">
|
||
|
<string>Minor</string>
|
||
|
</property>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||
|
<item>
|
||
|
<widget class="QSpinBox" name="spinBox_2">
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QGroupBox" name="groupBox">
|
||
|
<property name="title">
|
||
|
<string>Major</string>
|
||
|
</property>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||
|
<item>
|
||
|
<widget class="QSpinBox" name="spinBox">
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLabel" name="label_9">
|
||
|
<property name="statusTip">
|
||
|
<string>Draw a scale on the left and/or top edge</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>drawscale</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="0">
|
||
|
<widget class="QCheckBox" name="drawOrigin">
|
||
|
<property name="statusTip">
|
||
|
<string> Draw a circle at the origin (0,0) on the map</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Draw orign</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="4" column="1">
|
||
|
<widget class="QComboBox" name="drawAlpha">
|
||
|
<property name="statusTip">
|
||
|
<string>Enable drawing transparency for some nodes (e.g. water)</string>
|
||
|
</property>
|
||
|
<property name="currentText">
|
||
|
<string notr="true">none</string>
|
||
|
</property>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string notr="true">none</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string notr="true">cumulative</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string notr="true">cumulative-darken</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string notr="true">average</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="3" column="0">
|
||
|
<widget class="QCheckBox" name="drawPlayers">
|
||
|
<property name="statusTip">
|
||
|
<string>Draw circles at player positions on the map</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Draw Players</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="4" column="0">
|
||
|
<widget class="QLabel" name="label_10">
|
||
|
<property name="text">
|
||
|
<string>Draw Alpha</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="5" column="0">
|
||
|
<widget class="QCheckBox" name="checkBox_4">
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<property name="statusTip">
|
||
|
<string>Draw air nodes (read the warnings first!)</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Draw Air</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="6" column="0">
|
||
|
<widget class="QCheckBox" name="checkBox_5">
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<property name="statusTip">
|
||
|
<string>Disable shading that accentuates height diffences</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>No Shading</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="7" column="0">
|
||
|
<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 row="0" column="1">
|
||
|
<widget class="QCheckBox" name="drawScaleLeft">
|
||
|
<property name="text">
|
||
|
<string>left</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="2">
|
||
|
<widget class="QCheckBox" name="drawScaleTop">
|
||
|
<property name="text">
|
||
|
<string>top</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<widget class="QWidget" name="tab_3">
|
||
|
<attribute name="title">
|
||
|
<string>MinetestMapper Output</string>
|
||
|
</attribute>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
|
<item>
|
||
|
<widget class="QPlainTextEdit" name="plainTextEdit_output">
|
||
|
<property name="frameShape">
|
||
|
<enum>QFrame::StyledPanel</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="button_generate">
|
||
|
<property name="text">
|
||
|
<string>Generate</string>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="minetestmappergui.qrc">
|
||
|
<normaloff>:/minetest</normaloff>:/minetest</iconset>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<widget class="QMenuBar" name="menuBar">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>760</width>
|
||
|
<height>21</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<widget class="QMenu" name="menuFile">
|
||
|
<property name="title">
|
||
|
<string>&File</string>
|
||
|
</property>
|
||
|
<addaction name="actionOpen_World"/>
|
||
|
<addaction name="actionSave_map_as"/>
|
||
|
<addaction name="actionGenerateMap"/>
|
||
|
<addaction name="separator"/>
|
||
|
<addaction name="actionExit"/>
|
||
|
</widget>
|
||
|
<widget class="QMenu" name="menuEdit">
|
||
|
<property name="title">
|
||
|
<string>&Edit</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QMenu" name="menuHelp_2">
|
||
|
<property name="title">
|
||
|
<string>Help</string>
|
||
|
</property>
|
||
|
<addaction name="actionHelp"/>
|
||
|
<addaction name="separator"/>
|
||
|
<addaction name="actionAbout_MinetestMapper"/>
|
||
|
<addaction name="actionAbout_QT"/>
|
||
|
<addaction name="actionAbout_MinetestMapper_GUI"/>
|
||
|
</widget>
|
||
|
<widget class="QMenu" name="menuLanguage">
|
||
|
<property name="title">
|
||
|
<string>Language</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<addaction name="menuFile"/>
|
||
|
<addaction name="menuEdit"/>
|
||
|
<addaction name="menuHelp_2"/>
|
||
|
<addaction name="menuLanguage"/>
|
||
|
</widget>
|
||
|
<widget class="QToolBar" name="mainToolBar">
|
||
|
<property name="windowTitle">
|
||
|
<string>Main Toolbar</string>
|
||
|
</property>
|
||
|
<property name="toolButtonStyle">
|
||
|
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||
|
</property>
|
||
|
<attribute name="toolBarArea">
|
||
|
<enum>TopToolBarArea</enum>
|
||
|
</attribute>
|
||
|
<attribute name="toolBarBreak">
|
||
|
<bool>false</bool>
|
||
|
</attribute>
|
||
|
<addaction name="actionOpen_World"/>
|
||
|
<addaction name="actionGenerateMap"/>
|
||
|
<addaction name="actionHelp"/>
|
||
|
</widget>
|
||
|
<widget class="QStatusBar" name="statusBar"/>
|
||
|
<widget class="QDockWidget" name="dockHelp">
|
||
|
<property name="windowIcon">
|
||
|
<iconset resource="minetestmappergui.qrc">
|
||
|
<normaloff>:/images/help.svg</normaloff>:/images/help.svg</iconset>
|
||
|
</property>
|
||
|
<property name="floating">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<property name="features">
|
||
|
<set>QDockWidget::AllDockWidgetFeatures</set>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Help</string>
|
||
|
</property>
|
||
|
<attribute name="dockWidgetArea">
|
||
|
<number>2</number>
|
||
|
</attribute>
|
||
|
<widget class="QWidget" name="dockWidgetContents">
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
||
|
<item>
|
||
|
<widget class="QTextBrowser" name="helpBrowser">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>180</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="html">
|
||
|
<string notr="true"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||
|
p, li { white-space: pre-wrap; }
|
||
|
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
|
||
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></string>
|
||
|
</property>
|
||
|
<property name="source">
|
||
|
<url>
|
||
|
<string>qrc:/doc/intro.html</string>
|
||
|
</url>
|
||
|
</property>
|
||
|
<property name="searchPaths">
|
||
|
<stringlist notr="true">
|
||
|
<string>./doc/</string>
|
||
|
</stringlist>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<action name="actionAbout_MinetestMapper">
|
||
|
<property name="text">
|
||
|
<string>About MinetestMapper</string>
|
||
|
</property>
|
||
|
</action>
|
||
|
<action name="actionAbout_QT">
|
||
|
<property name="text">
|
||
|
<string>About QT</string>
|
||
|
</property>
|
||
|
</action>
|
||
|
<action name="actionGenerateMap">
|
||
|
<property name="icon">
|
||
|
<iconset resource="minetestmappergui.qrc">
|
||
|
<normaloff>:/minetest</normaloff>:/minetest</iconset>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>generate Map</string>
|
||
|
</property>
|
||
|
<property name="toolTip">
|
||
|
<string>starting Minetestmapper to generate the map</string>
|
||
|
</property>
|
||
|
<property name="statusTip">
|
||
|
<string>generate the Map</string>
|
||
|
</property>
|
||
|
</action>
|
||
|
<action name="actionExit">
|
||
|
<property name="text">
|
||
|
<string>Exit</string>
|
||
|
</property>
|
||
|
<property name="shortcut">
|
||
|
<string>Esc</string>
|
||
|
</property>
|
||
|
</action>
|
||
|
<action name="actionHelp">
|
||
|
<property name="checkable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="minetestmappergui.qrc">
|
||
|
<normaloff>:/images/help.svg</normaloff>:/images/help.svg</iconset>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Help</string>
|
||
|
</property>
|
||
|
<property name="shortcut">
|
||
|
<string>F1</string>
|
||
|
</property>
|
||
|
</action>
|
||
|
<action name="actionWhats_this">
|
||
|
<property name="text">
|
||
|
<string>Whats this?</string>
|
||
|
</property>
|
||
|
</action>
|
||
|
<action name="actionOpen_World">
|
||
|
<property name="icon">
|
||
|
<iconset resource="minetestmappergui.qrc">
|
||
|
<normaloff>:/open</normaloff>:/open</iconset>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Open World</string>
|
||
|
</property>
|
||
|
<property name="shortcut">
|
||
|
<string>Ctrl+O</string>
|
||
|
</property>
|
||
|
</action>
|
||
|
<action name="actionSave_map_as">
|
||
|
<property name="icon">
|
||
|
<iconset resource="minetestmappergui.qrc">
|
||
|
<normaloff>:/save</normaloff>:/save</iconset>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Save map as</string>
|
||
|
</property>
|
||
|
<property name="shortcut">
|
||
|
<string>Ctrl+S</string>
|
||
|
</property>
|
||
|
</action>
|
||
|
<action name="actionAbout_MinetestMapper_GUI">
|
||
|
<property name="text">
|
||
|
<string>About MinetestMapper GUI</string>
|
||
|
</property>
|
||
|
</action>
|
||
|
</widget>
|
||
|
<layoutdefault spacing="6" margin="11"/>
|
||
|
<resources>
|
||
|
<include location="minetestmappergui.qrc"/>
|
||
|
</resources>
|
||
|
<connections>
|
||
|
<connection>
|
||
|
<sender>actionGenerateMap</sender>
|
||
|
<signal>triggered()</signal>
|
||
|
<receiver>button_generate</receiver>
|
||
|
<slot>click()</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>-1</x>
|
||
|
<y>-1</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>178</x>
|
||
|
<y>363</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>actionExit</sender>
|
||
|
<signal>triggered()</signal>
|
||
|
<receiver>MainWindow</receiver>
|
||
|
<slot>close()</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>-1</x>
|
||
|
<y>-1</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>178</x>
|
||
|
<y>201</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>radioButton_heightmapColor</sender>
|
||
|
<signal>toggled(bool)</signal>
|
||
|
<receiver>colorHeightmap</receiver>
|
||
|
<slot>setEnabled(bool)</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>53</x>
|
||
|
<y>233</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>191</x>
|
||
|
<y>232</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>radioButton_heightmapFile</sender>
|
||
|
<signal>toggled(bool)</signal>
|
||
|
<receiver>path_HeightmapColors</receiver>
|
||
|
<slot>setEnabled(bool)</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>53</x>
|
||
|
<y>262</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>191</x>
|
||
|
<y>261</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>actionHelp</sender>
|
||
|
<signal>toggled(bool)</signal>
|
||
|
<receiver>dockHelp</receiver>
|
||
|
<slot>setVisible(bool)</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>-1</x>
|
||
|
<y>-1</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>541</x>
|
||
|
<y>244</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>dockHelp</sender>
|
||
|
<signal>visibilityChanged(bool)</signal>
|
||
|
<receiver>actionHelp</receiver>
|
||
|
<slot>setChecked(bool)</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>541</x>
|
||
|
<y>244</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>-1</x>
|
||
|
<y>-1</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>actionOpen_World</sender>
|
||
|
<signal>triggered()</signal>
|
||
|
<receiver>browseWorld</receiver>
|
||
|
<slot>click()</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>-1</x>
|
||
|
<y>-1</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>385</x>
|
||
|
<y>129</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>actionSave_map_as</sender>
|
||
|
<signal>triggered()</signal>
|
||
|
<receiver>saveImage</receiver>
|
||
|
<slot>click()</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>-1</x>
|
||
|
<y>-1</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>385</x>
|
||
|
<y>192</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
</connections>
|
||
|
</ui>
|