<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>RegionMapEditor</class> <widget class="QMainWindow" name="RegionMapEditor"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>800</width> <height>600</height> </rect> </property> <property name="windowTitle"> <string>MainWindow</string> </property> <widget class="QWidget" name="tab"> <widget class="QScrollArea" name="scrollArea_CM_Metatiles"> <property name="geometry"> <rect> <x>450</x> <y>250</y> <width>301</width> <height>181</height> </rect> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="verticalScrollBarPolicy"> <enum>Qt::ScrollBarAlwaysOn</enum> </property> <property name="horizontalScrollBarPolicy"> <enum>Qt::ScrollBarAsNeeded</enum> </property> <property name="sizeAdjustPolicy"> <enum>QAbstractScrollArea::AdjustIgnored</enum> </property> <property name="widgetResizable"> <bool>true</bool> </property> <property name="alignment"> <set>Qt::AlignHCenter|Qt::AlignTop</set> </property> <widget class="QWidget" name="scrollAreaWidgetContents_CM_Metatiles"> <property name="enabled"> <bool>true</bool> </property> <property name="geometry"> <rect> <x>8</x> <y>0</y> <width>283</width> <height>179</height> </rect> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <layout class="QGridLayout" name="gridLayout_15"> <property name="sizeConstraint"> <enum>QLayout::SetDefaultConstraint</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> <property name="spacing"> <number>0</number> </property> <item row="1" column="1"> <spacer name="verticalSpacer_CMM_South"> <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="QGraphicsView" name="graphicsView_City_Map_Tiles"> <property name="enabled"> <bool>true</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="verticalScrollBarPolicy"> <enum>Qt::ScrollBarAlwaysOff</enum> </property> <property name="horizontalScrollBarPolicy"> <enum>Qt::ScrollBarAlwaysOff</enum> </property> <property name="sizeAdjustPolicy"> <enum>QAbstractScrollArea::AdjustIgnored</enum> </property> </widget> </item> <item row="0" column="0"> <spacer name="horizontalSpacer_CMM_West"> <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="0" column="2"> <spacer name="horizontalSpacer_CMM_East"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </widget> </widget> <widget class="QTabWidget" name="tabWidget_Region_Map"> <property name="geometry"> <rect> <x>19</x> <y>9</y> <width>321</width> <height>221</height> </rect> </property> <property name="currentIndex"> <number>0</number> </property> <widget class="QWidget" name="tab_RM_BkgImg"> <attribute name="title"> <string>Background Image</string> </attribute> <widget class="QScrollArea" name="scrollArea_RM_BkgImg"> <property name="geometry"> <rect> <x>-10</x> <y>-10</y> <width>331</width> <height>211</height> </rect> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="widgetResizable"> <bool>true</bool> </property> <widget class="QWidget" name="scrollAreaWidgetContents_8"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>329</width> <height>209</height> </rect> </property> <layout class="QGridLayout" name="gridLayout_18"> <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="spacing"> <number>0</number> </property> <item row="1" column="1"> <widget class="QGraphicsView" name="graphicsView_Region_Map_BkgImg"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="mouseTracking"> <bool>false</bool> </property> <property name="autoFillBackground"> <bool>false</bool> </property> <property name="sizeAdjustPolicy"> <enum>QAbstractScrollArea::AdjustIgnored</enum> </property> <property name="dragMode"> <enum>QGraphicsView::NoDrag</enum> </property> </widget> </item> <item row="1" column="0"> <spacer name="horizontalSpacer_RMBI_West"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>166</width> <height>16</height> </size> </property> </spacer> </item> <item row="2" column="1"> <spacer name="verticalSpacer_RMBI_South"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>16</width> <height>166</height> </size> </property> </spacer> </item> <item row="1" column="2"> <spacer name="horizontalSpacer_RMBI_East"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>166</width> <height>16</height> </size> </property> </spacer> </item> <item row="0" column="1"> <spacer name="verticalSpacer_RMBI_North"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>16</width> <height>166</height> </size> </property> </spacer> </item> </layout> </widget> </widget> </widget> <widget class="QWidget" name="tab_RM_Layout"> <attribute name="title"> <string>Map Layout</string> </attribute> <widget class="QScrollArea" name="scrollArea_RM_Layout"> <property name="geometry"> <rect> <x>-10</x> <y>-10</y> <width>331</width> <height>211</height> </rect> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="widgetResizable"> <bool>true</bool> </property> <widget class="QWidget" name="scrollAreaWidgetContents_9"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>329</width> <height>209</height> </rect> </property> <layout class="QGridLayout" name="gridLayout_19"> <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="spacing"> <number>0</number> </property> <item row="1" column="1"> <widget class="QGraphicsView" name="graphicsView_Region_Map_Layout"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="mouseTracking"> <bool>false</bool> </property> <property name="autoFillBackground"> <bool>false</bool> </property> <property name="sizeAdjustPolicy"> <enum>QAbstractScrollArea::AdjustIgnored</enum> </property> <property name="dragMode"> <enum>QGraphicsView::NoDrag</enum> </property> </widget> </item> <item row="1" column="0"> <spacer name="horizontalSpacer_RML_West"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>166</width> <height>16</height> </size> </property> </spacer> </item> <item row="2" column="1"> <spacer name="verticalSpacer_RML_South"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>16</width> <height>166</height> </size> </property> </spacer> </item> <item row="1" column="2"> <spacer name="horizontalSpacer_RML_East"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>166</width> <height>16</height> </size> </property> </spacer> </item> <item row="0" column="1"> <spacer name="verticalSpacer_RML_North"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>16</width> <height>166</height> </size> </property> </spacer> </item> </layout> </widget> </widget> </widget> </widget> <widget class="QStackedWidget" name="stackedWidget_RM_Options"> <property name="geometry"> <rect> <x>440</x> <y>20</y> <width>351</width> <height>221</height> </rect> </property> <property name="currentIndex"> <number>0</number> </property> <widget class="QWidget" name="page_RM_BkgImg_Options"> <widget class="QScrollArea" name="scrollArea_RM_Metatiles"> <property name="geometry"> <rect> <x>30</x> <y>20</y> <width>281</width> <height>171</height> </rect> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="verticalScrollBarPolicy"> <enum>Qt::ScrollBarAlwaysOn</enum> </property> <property name="horizontalScrollBarPolicy"> <enum>Qt::ScrollBarAsNeeded</enum> </property> <property name="sizeAdjustPolicy"> <enum>QAbstractScrollArea::AdjustIgnored</enum> </property> <property name="widgetResizable"> <bool>true</bool> </property> <property name="alignment"> <set>Qt::AlignHCenter|Qt::AlignTop</set> </property> <widget class="QWidget" name="scrollAreaWidgetContents_RM_Metatiles"> <property name="enabled"> <bool>true</bool> </property> <property name="geometry"> <rect> <x>8</x> <y>0</y> <width>263</width> <height>169</height> </rect> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <layout class="QGridLayout" name="gridLayout_21"> <property name="sizeConstraint"> <enum>QLayout::SetDefaultConstraint</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> <property name="spacing"> <number>0</number> </property> <item row="1" column="1"> <spacer name="verticalSpacer_RMM_South"> <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="QGraphicsView" name="graphicsView_RegionMap_Tiles"> <property name="enabled"> <bool>true</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="verticalScrollBarPolicy"> <enum>Qt::ScrollBarAlwaysOff</enum> </property> <property name="horizontalScrollBarPolicy"> <enum>Qt::ScrollBarAlwaysOff</enum> </property> <property name="sizeAdjustPolicy"> <enum>QAbstractScrollArea::AdjustIgnored</enum> </property> </widget> </item> <item row="0" column="0"> <spacer name="horizontalSpacer_RMM_West"> <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="0" column="2"> <spacer name="horizontalSpacer_RMM_East"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </widget> </widget> </widget> <widget class="QWidget" name="page_RM_Layout_Options"> <widget class="QFrame" name="frame_RM_Options"> <property name="enabled"> <bool>false</bool> </property> <property name="geometry"> <rect> <x>10</x> <y>0</y> <width>331</width> <height>211</height> </rect> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <widget class="QPushButton" name="pushButton_RM_Options_save"> <property name="geometry"> <rect> <x>210</x> <y>170</y> <width>107</width> <height>32</height> </rect> </property> <property name="text"> <string>Set Values</string> </property> </widget> <widget class="QWidget" name="layoutWidget"> <property name="geometry"> <rect> <x>13</x> <y>11</y> <width>301</width> <height>111</height> </rect> </property> <layout class="QGridLayout" name="gridLayout_22"> <item row="0" column="0"> <widget class="QLabel" name="label_RM_MapSection"> <property name="text"> <string>Map Section</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QComboBox" name="comboBox_RM_ConnectedMap"> <property name="toolTip"> <string><html><head/><body><p>The section of the region map which the map is grouped under. This also determines the name of the map that is display when the player enters it.</p></body></html></string> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_RM_MapName"> <property name="text"> <string>Map Name</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="lineEdit_RM_MapName"/> </item> <item row="2" column="0"> <widget class="QLabel" name="label_RM_CityMap"> <property name="text"> <string>City Map</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QComboBox" name="comboBox_RM_CityMap"> <property name="toolTip"> <string><html><head/><body><p>The map type is a general attribute, which is used for many different things. For example. it determines whether biking or running is allowed.</p></body></html></string> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> </layout> </widget> <widget class="QWidget" name="layoutWidget"> <property name="geometry"> <rect> <x>20</x> <y>130</y> <width>138</width> <height>26</height> </rect> </property> <layout class="QHBoxLayout" name="horizontalLayout_RM_Options_xy"> <item> <widget class="QLabel" name="label_RM_Options_x"> <property name="text"> <string>x</string> </property> </widget> </item> <item> <widget class="QSpinBox" name="spinBox_RM_Options_x"/> </item> <item> <widget class="QLabel" name="label_RM_Options_y"> <property name="text"> <string>y</string> </property> </widget> </item> <item> <widget class="QSpinBox" name="spinBox_RM_Options_y"/> </item> </layout> </widget> </widget> </widget> </widget> <widget class="QWidget" name="layoutWidget"> <property name="geometry"> <rect> <x>10</x> <y>250</y> <width>341</width> <height>281</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <layout class="QHBoxLayout" name="horizontalLayout_8"> <item> <widget class="QLabel" name="label"> <property name="text"> <string>City Map:</string> </property> </widget> </item> <item> <widget class="QComboBox" name="comboBox_CityMap_picker"/> </item> <item> <spacer name="horizontalSpacer_2"> <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="QPushButton" name="pushButton_CityMap_save"> <property name="text"> <string>save</string> </property> </widget> </item> </layout> </item> <item> <widget class="QScrollArea" name="scrollArea_City_Map"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="widgetResizable"> <bool>true</bool> </property> <widget class="QWidget" name="scrollAreaWidgetContents_City_Map"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>337</width> <height>235</height> </rect> </property> <layout class="QGridLayout" name="gridLayout_20"> <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="spacing"> <number>0</number> </property> <item row="1" column="1"> <widget class="QGraphicsView" name="graphicsView_City_Map"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="mouseTracking"> <bool>false</bool> </property> <property name="autoFillBackground"> <bool>false</bool> </property> <property name="sizeAdjustPolicy"> <enum>QAbstractScrollArea::AdjustIgnored</enum> </property> <property name="dragMode"> <enum>QGraphicsView::NoDrag</enum> </property> </widget> </item> <item row="1" column="0"> <spacer name="horizontalSpacer_CM_West"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>166</width> <height>16</height> </size> </property> </spacer> </item> <item row="2" column="1"> <spacer name="verticalSpacer_CM_South"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>16</width> <height>166</height> </size> </property> </spacer> </item> <item row="1" column="2"> <spacer name="horizontalSpacer_CM_East"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>166</width> <height>16</height> </size> </property> </spacer> </item> <item row="0" column="1"> <spacer name="verticalSpacer_CM_North"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>16</width> <height>166</height> </size> </property> </spacer> </item> </layout> </widget> </widget> </item> </layout> </widget> </widget> <widget class="QMenuBar" name="menubar"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>800</width> <height>22</height> </rect> </property> <widget class="QMenu" name="menuFile"> <property name="title"> <string>File</string> </property> <addaction name="action_RegionMap_Save"/> </widget> <addaction name="menuFile"/> </widget> <widget class="QStatusBar" name="statusbar"/> <action name="action_RegionMap_Save"> <property name="text"> <string>Save</string> </property> <property name="shortcut"> <string>Ctrl+S</string> </property> </action> </widget> <resources/> <connections/> </ui>