2019-01-07 23:14:44 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
2024-11-12 18:23:15 +00:00
<class>NewMapDialog</class>
<widget class="QDialog" name="NewMapDialog">
2019-01-07 23:14:44 +00:00
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2024-11-12 18:44:04 +00:00
<width>453</width>
2024-11-12 19:27:35 +00:00
<height>588</height>
2019-01-07 23:14:44 +00:00
</rect>
</property>
<property name="windowTitle">
<string>New Map Options</string>
</property>
2024-11-12 18:44:04 +00:00
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QScrollArea" name="scrollArea">
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>427</width>
2024-11-12 19:34:10 +00:00
<height>520</height>
2024-11-12 18:44:04 +00:00
</rect>
2019-01-07 23:14:44 +00:00
</property>
2024-11-12 18:44:04 +00:00
<layout class="QGridLayout" name="gridLayout_3">
2019-01-07 23:14:44 +00:00
<property name="verticalSpacing">
2024-11-12 18:44:04 +00:00
<number>10</number>
2019-01-07 23:14:44 +00:00
</property>
2019-03-22 00:56:00 +00:00
<item row="0" column="0">
2024-11-12 18:44:04 +00:00
<widget class="QLabel" name="label_Name">
2019-03-22 00:56:00 +00:00
<property name="text">
<string>Name</string>
</property>
</widget>
</item>
2024-11-12 19:34:10 +00:00
<item row="1" column="3">
<widget class="QLabel" name="label_NameError">
<property name="visible">
<bool>false</bool>
2024-11-12 19:27:35 +00:00
</property>
2024-11-12 19:34:10 +00:00
<property name="styleSheet">
<string notr="true">color: rgb(255, 0, 0)</string>
2019-01-07 23:14:44 +00:00
</property>
2024-11-12 19:34:10 +00:00
<property name="text">
<string/>
</property>
<property name="wordWrap">
2020-09-10 21:00:26 +01:00
<bool>true</bool>
</property>
2019-01-07 23:14:44 +00:00
</widget>
</item>
2024-11-12 19:34:10 +00:00
<item row="5" column="3">
2024-11-12 19:27:35 +00:00
<widget class="QLabel" name="label_GroupError">
<property name="visible">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(255, 0, 0)</string>
</property>
<property name="text">
<string/>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
2024-11-12 19:34:10 +00:00
<item row="7" column="0" colspan="4" alignment="Qt::AlignmentFlag::AlignTop">
2024-11-12 18:44:04 +00:00
<widget class="QGroupBox" name="groupBox_BorderDimensions">
<property name="title">
<string>Border Dimensions</string>
</property>
<layout class="QFormLayout" name="formLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label_BorderWidth">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Width</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="NoScrollSpinBox" name="spinBox_BorderWidth">
<property name="toolTip">
<string><html><head/><body><p>Width (in metatiles) of the new map's border.</p></body></html></string>
</property>
<property name="minimum">
<number>1</number>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="NoScrollSpinBox" name="spinBox_BorderHeight">
<property name="toolTip">
<string><html><head/><body><p>Height (in metatiles) of the new map's border.</p></body></html></string>
</property>
<property name="minimum">
<number>1</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_BorderHeight">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Height</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
2024-11-12 19:34:10 +00:00
<item row="2" column="0">
<widget class="QLabel" name="label_ID">
2019-01-07 23:14:44 +00:00
<property name="text">
2024-11-12 19:34:10 +00:00
<string>ID</string>
2019-01-07 23:14:44 +00:00
</property>
</widget>
</item>
2024-11-12 19:34:10 +00:00
<item row="6" column="0" colspan="4" alignment="Qt::AlignmentFlag::AlignTop">
<widget class="QGroupBox" name="groupBox_MapDimensions">
2024-11-12 18:44:04 +00:00
<property name="title">
2024-11-12 19:34:10 +00:00
<string>Map Dimensions</string>
2024-11-12 18:44:04 +00:00
</property>
2024-11-12 19:34:10 +00:00
<layout class="QFormLayout" name="formLayout_4">
2024-11-12 18:44:04 +00:00
<item row="0" column="0">
2024-11-12 19:34:10 +00:00
<widget class="QLabel" name="label_MapWidth">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2024-11-12 18:44:04 +00:00
<property name="text">
2024-11-12 19:34:10 +00:00
<string>Width</string>
2024-11-12 18:44:04 +00:00
</property>
</widget>
</item>
<item row="0" column="1">
2024-11-12 19:34:10 +00:00
<widget class="NoScrollSpinBox" name="spinBox_MapWidth">
2024-11-12 18:44:04 +00:00
<property name="toolTip">
2024-11-12 19:34:10 +00:00
<string><html><head/><body><p>Width (in metatiles) of the new map.</p></body></html></string>
2024-11-12 18:44:04 +00:00
</property>
2024-11-12 19:34:10 +00:00
<property name="minimum">
<number>1</number>
2024-11-12 18:44:04 +00:00
</property>
</widget>
</item>
2024-11-12 19:34:10 +00:00
<item row="2" column="0">
<widget class="QLabel" name="label_MapHeight">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2024-11-12 18:44:04 +00:00
<property name="text">
2024-11-12 19:34:10 +00:00
<string>Height</string>
2024-11-12 18:44:04 +00:00
</property>
</widget>
</item>
2024-11-12 19:34:10 +00:00
<item row="2" column="1">
<widget class="NoScrollSpinBox" name="spinBox_MapHeight">
2024-11-12 18:44:04 +00:00
<property name="toolTip">
2024-11-12 19:34:10 +00:00
<string><html><head/><body><p>Height (in metatiles) of the new map.</p></body></html></string>
2024-11-12 18:44:04 +00:00
</property>
2024-11-12 19:34:10 +00:00
<property name="minimum">
<number>1</number>
2024-11-12 18:44:04 +00:00
</property>
</widget>
</item>
2024-11-12 19:34:10 +00:00
<item row="3" column="0" colspan="2">
<widget class="QLabel" name="label_MapDimensionsError">
2024-11-12 19:27:35 +00:00
<property name="visible">
<bool>false</bool>
2024-11-12 18:44:04 +00:00
</property>
2024-11-12 19:27:35 +00:00
<property name="styleSheet">
<string notr="true">color: rgb(255, 0, 0)</string>
2024-11-12 18:44:04 +00:00
</property>
2024-11-12 19:27:35 +00:00
<property name="text">
<string/>
2024-11-12 18:44:04 +00:00
</property>
2024-11-12 19:27:35 +00:00
<property name="wordWrap">
2024-11-12 18:44:04 +00:00
<bool>true</bool>
</property>
</widget>
</item>
2024-11-12 19:27:35 +00:00
</layout>
</widget>
</item>
2024-11-12 19:34:10 +00:00
<item row="4" column="3">
<widget class="NoScrollComboBox" name="comboBox_Group">
<property name="toolTip">
<string><html><head/><body><p>The name of the group this map will be added to.</p></body></html></string>
</property>
<property name="editable">
<bool>true</bool>
</property>
<property name="insertPolicy">
<enum>QComboBox::InsertPolicy::NoInsert</enum>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QLineEdit" name="lineEdit_ID">
<property name="toolTip">
<string><html><head/><body><p>The constant that will be used to refer to this map. It cannot be the same as any other existing map, and it must start with the specified prefix.</p></body></html></string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLineEdit" name="lineEdit_Name">
<property name="toolTip">
<string><html><head/><body><p>The name of the new map. The name cannot be the same as any other existing map.</p></body></html></string>
</property>
<property name="clearButtonEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item row="8" column="0" colspan="4" alignment="Qt::AlignmentFlag::AlignTop">
<widget class="QGroupBox" name="groupBox_Tilesets">
2024-11-12 19:27:35 +00:00
<property name="title">
2024-11-12 19:34:10 +00:00
<string>Tilesets</string>
2024-11-12 19:27:35 +00:00
</property>
2024-11-12 19:34:10 +00:00
<layout class="QFormLayout" name="formLayout">
2024-11-12 19:27:35 +00:00
<item row="0" column="0">
2024-11-12 19:34:10 +00:00
<widget class="QLabel" name="label_PrimaryTileset">
2024-11-12 18:44:04 +00:00
<property name="text">
2024-11-12 19:34:10 +00:00
<string>Primary</string>
2024-11-12 18:44:04 +00:00
</property>
</widget>
</item>
2024-11-12 19:27:35 +00:00
<item row="0" column="1">
2024-11-12 19:34:10 +00:00
<widget class="NoScrollComboBox" name="comboBox_PrimaryTileset">
2024-11-12 18:44:04 +00:00
<property name="toolTip">
2024-11-12 19:34:10 +00:00
<string><html><head/><body><p>The primary tileset for the new map.</p></body></html></string>
2024-11-12 18:44:04 +00:00
</property>
2024-11-12 19:34:10 +00:00
<property name="editable">
<bool>true</bool>
</property>
<property name="insertPolicy">
<enum>QComboBox::InsertPolicy::NoInsert</enum>
2024-11-12 18:44:04 +00:00
</property>
</widget>
</item>
2024-11-12 19:34:10 +00:00
<item row="1" column="0">
<widget class="QLabel" name="label_SecondaryTileset">
2024-11-12 18:44:04 +00:00
<property name="text">
2024-11-12 19:34:10 +00:00
<string>Secondary</string>
2024-11-12 18:44:04 +00:00
</property>
</widget>
</item>
2024-11-12 19:34:10 +00:00
<item row="1" column="1">
<widget class="NoScrollComboBox" name="comboBox_SecondaryTileset">
2024-11-12 18:44:04 +00:00
<property name="toolTip">
2024-11-12 19:34:10 +00:00
<string><html><head/><body><p>The secondary tileset for the new map.</p></body></html></string>
2024-11-12 18:44:04 +00:00
</property>
2024-11-12 19:34:10 +00:00
<property name="editable">
<bool>true</bool>
</property>
<property name="insertPolicy">
<enum>QComboBox::InsertPolicy::NoInsert</enum>
2024-11-12 18:44:04 +00:00
</property>
</widget>
</item>
2024-11-12 19:34:10 +00:00
<item row="2" column="0" colspan="2">
<widget class="QLabel" name="label_TilesetsError">
2024-11-12 19:27:35 +00:00
<property name="visible">
<bool>false</bool>
2024-11-12 18:44:04 +00:00
</property>
2024-11-12 19:27:35 +00:00
<property name="styleSheet">
<string notr="true">color: rgb(255, 0, 0)</string>
2024-11-12 18:44:04 +00:00
</property>
<property name="text">
<string/>
</property>
2024-11-12 19:27:35 +00:00
<property name="wordWrap">
<bool>true</bool>
</property>
2024-11-12 18:44:04 +00:00
</widget>
</item>
</layout>
2019-03-21 23:50:50 +00:00
</widget>
</item>
2024-11-12 19:34:10 +00:00
<item row="3" column="3">
2024-11-12 19:27:35 +00:00
<widget class="QLabel" name="label_IDError">
2024-11-12 18:44:04 +00:00
<property name="visible">
2020-05-17 02:19:36 +01:00
<bool>false</bool>
</property>
2020-05-18 23:06:59 +01:00
<property name="styleSheet">
<string notr="true">color: rgb(255, 0, 0)</string>
</property>
2020-05-17 02:19:36 +01:00
<property name="text">
<string/>
</property>
2024-11-12 18:44:04 +00:00
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
2024-11-12 19:34:10 +00:00
<item row="14" column="0" colspan="4">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
2024-11-12 19:27:35 +00:00
</property>
2024-11-12 19:34:10 +00:00
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
2024-11-12 19:27:35 +00:00
</property>
2024-11-12 19:34:10 +00:00
</spacer>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_Group">
<property name="text">
<string>Group</string>
2024-11-12 19:27:35 +00:00
</property>
</widget>
</item>
2024-11-12 19:34:10 +00:00
<item row="13" column="0" colspan="4">
<widget class="QWidget" name="widget_HeaderData" native="true">
<layout class="QVBoxLayout" name="layout_HeaderData">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
</layout>
</widget>
</item>
<item row="10" column="3">
2024-11-12 19:27:35 +00:00
<widget class="QCheckBox" name="checkBox_CanFlyTo">
<property name="toolTip">
<string><html><head/><body><p>If checked, a Heal Location will be added to this map automatically.</p></body></html></string>
</property>
<property name="text">
<string/>
2024-11-12 18:44:04 +00:00
</property>
2020-05-17 02:19:36 +01:00
</widget>
</item>
2024-11-12 19:34:10 +00:00
<item row="10" column="0" colspan="3">
<widget class="QLabel" name="label_CanFlyTo">
<property name="text">
<string>Can Fly To</string>
</property>
</widget>
</item>
2020-05-17 02:19:36 +01:00
</layout>
</widget>
2024-11-12 18:44:04 +00:00
</widget>
</item>
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="1">
<widget class="QPushButton" name="pushButton_Accept">
<property name="text">
<string>Accept</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
2019-01-07 23:14:44 +00:00
</widget>
<customwidgets>
<customwidget>
<class>NoScrollComboBox</class>
<extends>QComboBox</extends>
<header>noscrollcombobox.h</header>
</customwidget>
2024-11-12 18:44:04 +00:00
<customwidget>
<class>NoScrollSpinBox</class>
<extends>QSpinBox</extends>
<header>noscrollspinbox.h</header>
</customwidget>
2019-01-07 23:14:44 +00:00
</customwidgets>
<resources/>
<connections/>
</ui>