mirror of
https://github.com/huderlem/porymap.git
synced 2026-03-21 17:45:44 -05:00
1170 lines
41 KiB
XML
1170 lines
41 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>TilesetEditor</class>
|
|
<widget class="QMainWindow" name="TilesetEditor">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>748</width>
|
|
<height>784</height>
|
|
</rect>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::FocusPolicy::ClickFocus</enum>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Tileset Editor</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QSplitter" name="splitter">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
<property name="childrenCollapsible">
|
|
<bool>false</bool>
|
|
</property>
|
|
<widget class="QFrame" name="frame_Metatiles">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Shape::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Shadow::Plain</enum>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_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="QScrollArea" name="scrollArea_Metatiles">
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignmentFlag::AlignHCenter|Qt::AlignmentFlag::AlignTop</set>
|
|
</property>
|
|
<widget class="QWidget" name="scrollAreaWidgetContents_Metatiles">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>241</width>
|
|
<height>659</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<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>
|
|
<property name="horizontalSpacing">
|
|
<number>6</number>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="NoScrollGraphicsView" name="graphicsView_Metatiles">
|
|
<property name="verticalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
<property name="horizontalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="horizontalSlider_MetatilesZoom">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QFrame" name="frame_Editing">
|
|
<property name="frameShape">
|
|
<enum>QFrame::Shape::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Shadow::Raised</enum>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<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="QFrame" name="frame_Properties">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>190</height>
|
|
</size>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Shape::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Shadow::Raised</enum>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<property name="sizeConstraint">
|
|
<enum>QLayout::SizeConstraint::SetMinimumSize</enum>
|
|
</property>
|
|
<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="QGroupBox" name="groupBox_MetatileProperties">
|
|
<property name="title">
|
|
<string>Metatile Properties</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_MetatileProperties">
|
|
<item row="5" column="0" colspan="2">
|
|
<widget class="QFrame" name="frame_RawAttributesValue">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_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>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label_RawAttributesValue">
|
|
<property name="text">
|
|
<string>Raw Attributes Value</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="UIntHexSpinBox" name="spinBox_RawAttributesValue"/>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_10">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" rowspan="2">
|
|
<widget class="QFrame" name="frame_LayerType">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<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_LayerType">
|
|
<property name="text">
|
|
<string>Layer Type</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="NoScrollComboBox" name="comboBox_LayerType">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>185</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0" colspan="2">
|
|
<widget class="QFrame" name="frame_MetatileLabel">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_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>2</number>
|
|
</property>
|
|
<item row="1" column="1">
|
|
<widget class="QToolButton" name="copyButton_MetatileLabel">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Copies the full metatile label to the clipboard.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/images.qrc">
|
|
<normaloff>:/icons/clipboard.ico</normaloff>:/icons/clipboard.ico</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLineEdit" name="lineEdit_MetatileLabel">
|
|
<property name="clearButtonEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_MetatileLabel">
|
|
<property name="text">
|
|
<string>Metatile Label (Optional)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<spacer name="verticalSpacer_11">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0" colspan="2">
|
|
<widget class="QFrame" name="frame_TerrainType">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_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>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label_TerrainType">
|
|
<property name="text">
|
|
<string>Terrain Type</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="NoScrollComboBox" name="comboBox_TerrainType">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="insertPolicy">
|
|
<enum>QComboBox::InsertPolicy::NoInsert</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_9">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="2">
|
|
<widget class="QFrame" name="frame_EncounterType">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|
<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>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label_EncounterType">
|
|
<property name="text">
|
|
<string>Encounter Type</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="NoScrollComboBox" name="comboBox_EncounterType">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="insertPolicy">
|
|
<enum>QComboBox::InsertPolicy::NoInsert</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_8">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="10" column="0">
|
|
<spacer name="verticalSpacer_7">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="2" column="0" colspan="2">
|
|
<widget class="QFrame" name="frame_MetatileBehavior">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_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>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label_MetatileBehavior">
|
|
<property name="text">
|
|
<string>Metatile Behavior</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="NoScrollComboBox" name="comboBox_MetatileBehaviors">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="insertPolicy">
|
|
<enum>QComboBox::InsertPolicy::NoInsert</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_6">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0" rowspan="2">
|
|
<widget class="QFrame" name="frame_Layers">
|
|
<layout class="QVBoxLayout" name="verticalLayout_Layers">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label_BottomTop">
|
|
<property name="text">
|
|
<string>Bottom/Top</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGraphicsView" name="graphicsView_MetatileLayers">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>1</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
<property name="verticalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
<property name="horizontalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_12">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_TileProperties">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string>Tile Properties</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Palette</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSpinBox" name="spinBox_paletteSelector"/>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>X Flip</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QCheckBox" name="checkBox_xFlip">
|
|
<property name="layoutDirection">
|
|
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Y Flip</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QCheckBox" name="checkBox_yFlip">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="2">
|
|
<spacer name="verticalSpacer_5">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Policy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>5</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="4" column="0" colspan="2">
|
|
<widget class="QFrame" name="frame_SelectedTile">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>98</width>
|
|
<height>62</height>
|
|
</size>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Shape::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Shadow::Plain</enum>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_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="QLabel" name="label_7">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>Selection</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGraphicsView" name="graphicsView_selectedTile">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>98</width>
|
|
<height>98</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>98</width>
|
|
<height>98</height>
|
|
</size>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Shape::StyledPanel</enum>
|
|
</property>
|
|
<property name="verticalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
<property name="horizontalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QScrollArea" name="scrollArea_Tiles">
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignmentFlag::AlignHCenter|Qt::AlignmentFlag::AlignTop</set>
|
|
</property>
|
|
<widget class="QWidget" name="scrollAreaWidgetContents_Tiles">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>458</width>
|
|
<height>203</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_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 row="0" column="0">
|
|
<widget class="NoScrollGraphicsView" name="graphicsView_Tiles">
|
|
<property name="verticalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
<property name="horizontalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<spacer name="verticalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="horizontalSlider_TilesZoom">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>748</width>
|
|
<height>37</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuFile">
|
|
<property name="title">
|
|
<string>File</string>
|
|
</property>
|
|
<widget class="QMenu" name="menuExport_Tiles_Image">
|
|
<property name="title">
|
|
<string>Export Tiles Image</string>
|
|
</property>
|
|
<addaction name="actionExport_Primary_Tiles_Image"/>
|
|
<addaction name="actionExport_Secondary_Tiles_Image"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuImport_AdvanceMap_Metatiles">
|
|
<property name="title">
|
|
<string>Import Metatiles from Advance Map 1.92</string>
|
|
</property>
|
|
<addaction name="actionImport_Primary_AdvanceMap_Metatiles"/>
|
|
<addaction name="actionImport_Secondary_AdvanceMap_Metatiles"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuImport_Tiles_Image">
|
|
<property name="title">
|
|
<string>Import Tiles Image</string>
|
|
</property>
|
|
<addaction name="actionImport_Primary_Tiles_Image"/>
|
|
<addaction name="actionImport_Secondary_Tiles_Image"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuExport_porytiles_Layer_Images">
|
|
<property name="title">
|
|
<string>Export Porytiles Layer Images</string>
|
|
</property>
|
|
<addaction name="actionExport_Primary_Porytiles_Layer_Images"/>
|
|
<addaction name="actionExport_Secondary_Porytiles_Layer_Images"/>
|
|
</widget>
|
|
<addaction name="actionSave_Tileset"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="menuImport_Tiles_Image"/>
|
|
<addaction name="menuImport_AdvanceMap_Metatiles"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="menuExport_Tiles_Image"/>
|
|
<addaction name="actionExport_Metatiles_Image"/>
|
|
<addaction name="menuExport_porytiles_Layer_Images"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuTools">
|
|
<property name="title">
|
|
<string>Tools</string>
|
|
</property>
|
|
<addaction name="actionChange_Palettes"/>
|
|
<addaction name="separator"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuEdit">
|
|
<property name="title">
|
|
<string>Edit</string>
|
|
</property>
|
|
<addaction name="actionUndo"/>
|
|
<addaction name="actionRedo"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionCut"/>
|
|
<addaction name="actionCopy"/>
|
|
<addaction name="actionPaste"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionChange_Metatiles_Count"/>
|
|
<addaction name="actionSwap_Metatiles"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuView">
|
|
<property name="title">
|
|
<string>View</string>
|
|
</property>
|
|
<widget class="QMenu" name="menuLayer_Arrangement">
|
|
<property name="title">
|
|
<string>Layer Arrangement</string>
|
|
</property>
|
|
<addaction name="actionLayer_Arrangement_Horizontal"/>
|
|
<addaction name="actionLayer_Arrangement_Vertical"/>
|
|
</widget>
|
|
<addaction name="menuLayer_Arrangement"/>
|
|
<addaction name="actionLayer_Grid"/>
|
|
<addaction name="actionMetatile_Grid"/>
|
|
<addaction name="actionShow_Tileset_Divider"/>
|
|
<addaction name="actionShow_Raw_Metatile_Attributes"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionShow_Counts"/>
|
|
<addaction name="actionShow_Unused"/>
|
|
<addaction name="actionShow_UnusedTiles"/>
|
|
</widget>
|
|
<addaction name="menuFile"/>
|
|
<addaction name="menuEdit"/>
|
|
<addaction name="menuView"/>
|
|
<addaction name="menuTools"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
<action name="actionSave_Tileset">
|
|
<property name="text">
|
|
<string>Save Tileset</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+S</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionChange_Metatiles_Count">
|
|
<property name="text">
|
|
<string>Change Number of Metatiles...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionChange_Palettes">
|
|
<property name="text">
|
|
<string>Palette Editor</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionShow_Unused">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Display Unused Metatiles</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionShow_UnusedTiles">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Display Unused Tiles</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionShow_Counts">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Display Metatile Usage Counts</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionUndo">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Undo</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Z</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionRedo">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Redo</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Y</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionCut">
|
|
<property name="text">
|
|
<string>Cut</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+X</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionCopy">
|
|
<property name="text">
|
|
<string>Copy</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+C</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionPaste">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Paste</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+V</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionLayer_Grid">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Layer Grid</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionMetatile_Grid">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Metatile Grid</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+G</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionShow_Tileset_Divider">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Show Tileset Divider</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionShow_Raw_Metatile_Attributes">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Show Raw Metatile Attributes</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionExport_Primary_Tiles_Image">
|
|
<property name="text">
|
|
<string>Primary...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionExport_Secondary_Tiles_Image">
|
|
<property name="text">
|
|
<string>Secondary...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionImport_Primary_AdvanceMap_Metatiles">
|
|
<property name="text">
|
|
<string>Primary...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionImport_Secondary_AdvanceMap_Metatiles">
|
|
<property name="text">
|
|
<string>Secondary...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionImport_Primary_Tiles_Image">
|
|
<property name="text">
|
|
<string>Primary...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionImport_Secondary_Tiles_Image">
|
|
<property name="text">
|
|
<string>Secondary...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionExport_Metatiles_Image">
|
|
<property name="text">
|
|
<string>Export Metatiles Image...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionExport_Primary_Porytiles_Layer_Images">
|
|
<property name="text">
|
|
<string>Primary...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionExport_Secondary_Porytiles_Layer_Images">
|
|
<property name="text">
|
|
<string>Secondary...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionLayer_Arrangement_Horizontal">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Horizontal</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionLayer_Arrangement_Vertical">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Vertical</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSwap_Metatiles">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Swap Metatiles</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>X</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>NoScrollComboBox</class>
|
|
<extends>QComboBox</extends>
|
|
<header>noscrollcombobox.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>NoScrollGraphicsView</class>
|
|
<extends>QGraphicsView</extends>
|
|
<header>mapview.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>UIntSpinBox</class>
|
|
<extends>QAbstractSpinBox</extends>
|
|
<header>uintspinbox.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>UIntHexSpinBox</class>
|
|
<extends>UIntSpinBox</extends>
|
|
<header location="global">uintspinbox.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="../resources/images.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|