<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>RegionMapPropertiesDialog</class> <widget class="QDialog" name="RegionMapPropertiesDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>564</width> <height>902</height> </rect> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="windowTitle"> <string>Region Map Properties</string> </property> <layout class="QFormLayout" name="formLayout_4"> <property name="fieldGrowthPolicy"> <enum>QFormLayout::AllNonFixedFieldsGrow</enum> </property> <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>alias</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="config_alias"> <property name="toolTip"> <string>A nickname for this region map that will differentiate it from others (should be unique).</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLabel" name="message_alias"> <property name="styleSheet"> <string notr="true">color: #ff5c33</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="4" column="0" colspan="2"> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Tilemap Properties</string> </property> <layout class="QFormLayout" name="formLayout"> <item row="0" column="0"> <widget class="QLabel" name="label_4"> <property name="text"> <string>format</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QComboBox" name="config_tilemapFormat"> <property name="toolTip"> <string><html><head/><body><p>The tilemap format can be either:</p><p>1) Plain (tilemap is a list of 8-bit tile indexes into the tileset)</p><p>2) 4BPP (tilemap entries are 16 bits, with x/y-flip, and palette index for 16 16-color palettes)</p><p>3) 8BPP (tilemap entries are 16 bits, with x/y-flip, single 256-color palette)</p></body></html></string> </property> <item> <property name="text"> <string>plain</string> </property> </item> <item> <property name="text"> <string>4bpp</string> </property> </item> <item> <property name="text"> <string>8bpp</string> </property> </item> </widget> </item> <item row="1" column="1"> <widget class="QLabel" name="message_tilemapFormat"> <property name="styleSheet"> <string notr="true">color: #ff5c33</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_5"> <property name="text"> <string>width</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QLabel" name="message_tilemapWidth"> <property name="styleSheet"> <string notr="true">color: #ff5c33</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="4" column="0"> <widget class="QLabel" name="label_6"> <property name="text"> <string>height</string> </property> </widget> </item> <item row="4" column="1"> <widget class="QSpinBox" name="config_tilemapHeight"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>75</width> <height>0</height> </size> </property> <property name="toolTip"> <string>The height of the tilemap</string> </property> <property name="maximum"> <number>255</number> </property> </widget> </item> <item row="6" column="0"> <widget class="QLabel" name="label_7"> <property name="text"> <string>tileset path</string> </property> </widget> </item> <item row="6" column="1"> <widget class="QFrame" name="frame"> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QHBoxLayout" name="horizontalLayout"> <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> <item> <widget class="QLineEdit" name="config_tilemapImagePath"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>350</width> <height>0</height> </size> </property> <property name="toolTip"> <string><html><head/><body><p>Path to the tileset image (.png) relative to the project root.</p></body></html></string> </property> </widget> </item> <item> <widget class="QPushButton" name="browse_tilesetImagePath"> <property name="text"> <string>...</string> </property> </widget> </item> </layout> </widget> </item> <item row="7" column="1"> <widget class="QLabel" name="message_tilemapImagePath"> <property name="styleSheet"> <string notr="true">color: #ff5c33</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="8" column="0"> <widget class="QLabel" name="label_8"> <property name="text"> <string>tilemap path</string> </property> </widget> </item> <item row="8" column="1"> <widget class="QFrame" name="frame_2"> <property name="toolTip"> <string><html><head/><body><p>Path to the tilemap binary relative to the project root.</p></body></html></string> </property> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QHBoxLayout" name="horizontalLayout_2"> <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> <item> <widget class="QLineEdit" name="config_tilemapBinPath"/> </item> <item> <widget class="QPushButton" name="browse_tilemapBinPath"> <property name="text"> <string>...</string> </property> </widget> </item> </layout> </widget> </item> <item row="9" column="1"> <widget class="QLabel" name="message_tilemapBinPath"> <property name="styleSheet"> <string notr="true">color: #ff5c33</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="10" column="0"> <widget class="QLabel" name="label_11"> <property name="text"> <string>palette path</string> </property> </widget> </item> <item row="10" column="1"> <widget class="QFrame" name="frame_3"> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> <property name="frameShadow"> <enum>QFrame::Plain</enum> </property> <layout class="QHBoxLayout" name="horizontalLayout_3"> <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> <item> <widget class="QLineEdit" name="config_tilemapPalettePath"> <property name="toolTip"> <string><html><head/><body><p>(optional) Path to the .pal JASC palette file</p></body></html></string> </property> </widget> </item> <item> <widget class="QPushButton" name="browse_tilemapPalettePath"> <property name="text"> <string>...</string> </property> </widget> </item> </layout> </widget> </item> <item row="5" column="1"> <widget class="QLabel" name="message_tilemapHeight"> <property name="styleSheet"> <string notr="true">color: #ff5c33</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="2" column="1"> <widget class="QSpinBox" name="config_tilemapWidth"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>75</width> <height>0</height> </size> </property> <property name="toolTip"> <string><html><head/><body><p>The width of the tilemap</p></body></html></string> </property> <property name="maximum"> <number>255</number> </property> </widget> </item> </layout> </widget> </item> <item row="6" column="0" colspan="2"> <widget class="QGroupBox" name="group_layout"> <property name="title"> <string>Layout Properties</string> </property> <property name="checkable"> <bool>true</bool> </property> <layout class="QFormLayout" name="formLayout_2"> <item row="0" column="0"> <widget class="QLabel" name="label_9"> <property name="text"> <string>format</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QComboBox" name="config_layoutFormat"> <property name="toolTip"> <string><html><head/><body><p>The format of the layout file, can be a C array in a text file with &quot;MAPSEC_&quot;-prefixed constants, or a binary file where each byte is a value of some &quot;MAPSEC_&quot;-prefixed constant.</p></body></html></string> </property> <item> <property name="text"> <string>C array</string> </property> </item> <item> <property name="text"> <string>binary</string> </property> </item> </widget> </item> <item row="1" column="1"> <widget class="QLabel" name="message_layoutFormat"> <property name="styleSheet"> <string notr="true">color: #ff5c33</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_10"> <property name="text"> <string>layout path</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QFrame" name="frame_5"> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QHBoxLayout" name="horizontalLayout_5"> <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> <item> <widget class="QLineEdit" name="config_layoutPath"> <property name="toolTip"> <string><html><head/><body><p>The path to the layout file, relative to the project root.</p></body></html></string> </property> </widget> </item> <item> <widget class="QPushButton" name="browse_layoutPath"> <property name="text"> <string>...</string> </property> </widget> </item> </layout> </widget> </item> <item row="3" column="1"> <widget class="QLabel" name="message_layoutPath"> <property name="styleSheet"> <string notr="true">color: #ff5c33</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="4" column="1"> <widget class="QWidget" name="widget" native="true"> <layout class="QHBoxLayout" name="horizontalLayout_7"> <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> <item> <widget class="QLabel" name="label_16"> <property name="text"> <string>width</string> </property> </widget> </item> <item> <widget class="QSpinBox" name="config_layoutWidth"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>75</width> <height>0</height> </size> </property> <property name="toolTip"> <string><html><head/><body><p>The layout width.</p></body></html></string> </property> <property name="minimum"> <number>0</number> </property> <property name="maximum"> <number>255</number> </property> </widget> </item> <item> <spacer name="horizontalSpacer_6"> <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="QLabel" name="label_12"> <property name="text"> <string>left offset</string> </property> </widget> </item> <item> <widget class="QSpinBox" name="config_leftOffs"> <property name="toolTip"> <string><html><head/><body><p>The offset from the left of the tilemap where the layout starts.</p><p>(ie, coordinate (0,0) in the layout would be (offset left, offset top) in the tilemap).</p></body></html></string> </property> <property name="maximum"> <number>255</number> </property> </widget> </item> <item> <spacer name="horizontalSpacer_3"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>85</width> <height>2</height> </size> </property> </spacer> </item> </layout> </widget> </item> <item row="5" column="1"> <widget class="QLabel" name="message_layoutWidth"> <property name="styleSheet"> <string notr="true">color: #ff5c33</string> </property> <property name="text"> <string/> </property> </widget> </item> <item row="6" column="1"> <widget class="QWidget" name="widget_2" native="true"> <layout class="QHBoxLayout" name="horizontalLayout_8"> <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> <item> <widget class="QLabel" name="label_17"> <property name="text"> <string>height</string> </property> </widget> </item> <item> <widget class="QSpinBox" name="config_layoutHeight"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>75</width> <height>0</height> </size> </property> <property name="toolTip"> <string><html><head/><body><p>The layout height.</p></body></html></string> </property> <property name="minimum"> <number>0</number> </property> <property name="maximum"> <number>255</number> </property> </widget> </item> <item> <spacer name="horizontalSpacer_7"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>87</width> <height>13</height> </size> </property> </spacer> </item> <item> <widget class="QLabel" name="label_13"> <property name="text"> <string>top offset</string> </property> </widget> </item> <item> <widget class="QSpinBox" name="config_topOffs"> <property name="toolTip"> <string><html><head/><body><p>The offset from the top of the tilemap where the layout starts.</p><p>(ie, coordinate (0,0) in the layout would be (offset left, offset top) in the tilemap).</p></body></html></string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_5"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>87</width> <height>13</height> </size> </property> </spacer> </item> </layout> </widget> </item> <item row="7" column="1"> <widget class="QLabel" name="message_layoutHeight"> <property name="styleSheet"> <string notr="true">color: #ff5c33</string> </property> <property name="text"> <string/> </property> </widget> </item> </layout> </widget> </item> <item row="9" column="0"> <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 row="9" column="1"> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>RegionMapPropertiesDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>248</x> <y>254</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>RegionMapPropertiesDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>316</x> <y>260</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>274</y> </hint> </hints> </connection> </connections> </ui>