Add path override editor

This commit is contained in:
GriffinR
2023-09-06 23:33:13 -04:00
parent 7411ddaeef
commit 61cbbbf08a
8 changed files with 146 additions and 35 deletions

View File

@@ -3015,9 +3015,9 @@
<addaction name="actionMonitor_Project_Files"/>
<addaction name="actionOpen_Recent_Project_On_Launch"/>
<addaction name="separator"/>
<addaction name="actionEdit_Project_Settings"/>
<addaction name="actionEdit_Preferences"/>
<addaction name="actionEdit_Shortcuts"/>
<addaction name="actionProject_Settings"/>
<addaction name="actionPreferences"/>
<addaction name="actionShortcuts"/>
<addaction name="actionCustom_Scripts"/>
</widget>
<addaction name="menuFile"/>
@@ -3272,9 +3272,9 @@
<string>Export Map Stitch Image...</string>
</property>
</action>
<action name="actionEdit_Preferences">
<action name="actionPreferences">
<property name="text">
<string>Edit Preferences...</string>
<string>Preferences...</string>
</property>
<property name="shortcut">
<string>Ctrl+,</string>
@@ -3285,9 +3285,9 @@
<string>Open Project in Text Editor</string>
</property>
</action>
<action name="actionEdit_Shortcuts">
<action name="actionShortcuts">
<property name="text">
<string>Edit Shortcuts...</string>
<string>Shortcuts...</string>
</property>
</action>
<action name="actionExport_Map_Timelapse_Image">
@@ -3310,9 +3310,9 @@
<string>Import Map from Advance Map 1.92...</string>
</property>
</action>
<action name="actionEdit_Project_Settings">
<action name="actionProject_Settings">
<property name="text">
<string>Edit Project Settings...</string>
<string>Project Settings...</string>
</property>
</action>
<action name="actionCustom_Scripts">

View File

@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>570</width>
<height>1041</height>
<width>563</width>
<height>1129</height>
</rect>
</property>
<property name="windowTitle">
@@ -28,8 +28,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>544</width>
<height>1107</height>
<width>537</width>
<height>1427</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
@@ -132,7 +132,7 @@
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="spinBox_Elevation">
<widget class="NoScrollSpinBox" name="spinBox_Elevation">
<property name="toolTip">
<string>The default elevation that will be used to fill new maps</string>
</property>
@@ -153,7 +153,7 @@
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="spinBox_FillMetatile">
<widget class="NoScrollSpinBox" name="spinBox_FillMetatile">
<property name="toolTip">
<string>The default metatile value that will be used to fill new maps</string>
</property>
@@ -309,7 +309,7 @@
</widget>
</item>
<item row="7" column="1">
<widget class="QSpinBox" name="spinBox_TerrainTypeMask">
<widget class="NoScrollSpinBox" name="spinBox_TerrainTypeMask">
<property name="toolTip">
<string>The mask used to read/write Terrain Type from the metatile's attributes data. If 0, this attribute is disabled.</string>
</property>
@@ -366,7 +366,7 @@
</widget>
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="spinBox_BehaviorMask">
<widget class="NoScrollSpinBox" name="spinBox_BehaviorMask">
<property name="toolTip">
<string>The mask used to read/write Metatile Behavior from the metatile's attributes data. If 0, this attribute is disabled.</string>
</property>
@@ -399,7 +399,7 @@
</widget>
</item>
<item row="5" column="1">
<widget class="QSpinBox" name="spinBox_EncounterTypeMask">
<widget class="NoScrollSpinBox" name="spinBox_EncounterTypeMask">
<property name="toolTip">
<string>The mask used to read/write Encounter Type from the metatile's attributes data. If 0, this attribute is disabled.</string>
</property>
@@ -426,7 +426,7 @@
</widget>
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="spinBox_LayerTypeMask">
<widget class="NoScrollSpinBox" name="spinBox_LayerTypeMask">
<property name="toolTip">
<string>The mask used to read/write Layer Type from the metatile's attributes data. If 0, this attribute is disabled.</string>
</property>
@@ -441,6 +441,60 @@
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_ProjectPaths">
<property name="minimumSize">
<size>
<width>0</width>
<height>320</height>
</size>
</property>
<property name="title">
<string>Path Overrides</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>1</number>
</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="QScrollArea" name="scrollArea_ProjectPaths">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaContents_ProjectPaths">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>507</width>
<height>295</height>
</rect>
</property>
<layout class="QFormLayout" name="layout_ProjectPaths"/>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_Events">
<property name="title">
@@ -577,6 +631,11 @@
<extends>QComboBox</extends>
<header>noscrollcombobox.h</header>
</customwidget>
<customwidget>
<class>NoScrollSpinBox</class>
<extends>QSpinBox</extends>
<header>noscrollspinbox.h</header>
</customwidget>
</customwidgets>
<resources>
<include location="../resources/images.qrc"/>