aboutsummaryrefslogtreecommitdiff
path: root/Source/MapEditor/mainwindow.ui
diff options
context:
space:
mode:
authorXavier ASUS <xavi92psx@gmail.com>2018-11-23 12:46:39 +0100
committerXavier ASUS <xavi92psx@gmail.com>2018-11-23 12:46:39 +0100
commitfa27014c9b78d13fe8720341ed73c249782c04d7 (patch)
treec545c9681a9233c0620c9ff5220234478fd79fef /Source/MapEditor/mainwindow.ui
parente7e764e7aa6ab13e7c0bb7025da5031c8fef6e47 (diff)
downloadairport-fa27014c9b78d13fe8720341ed73c249782c04d7.tar.gz
Minor improvements and optimizations.
Diffstat (limited to 'Source/MapEditor/mainwindow.ui')
-rw-r--r--Source/MapEditor/mainwindow.ui136
1 files changed, 87 insertions, 49 deletions
diff --git a/Source/MapEditor/mainwindow.ui b/Source/MapEditor/mainwindow.ui
index f5f3514..95daad6 100644
--- a/Source/MapEditor/mainwindow.ui
+++ b/Source/MapEditor/mainwindow.ui
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>920</width>
- <height>605</height>
+ <height>648</height>
</rect>
</property>
<property name="windowTitle">
@@ -24,73 +24,100 @@
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
- <item row="2" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <item row="2" column="2">
+ <widget class="QGraphicsView" name="graphicsView">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+ <horstretch>99</horstretch>
+ <verstretch>99</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <layout class="QVBoxLayout" name="verticalLayout_2">
<item>
- <widget class="QCheckBox" name="showNumbers_Checkbox">
+ <widget class="QLabel" name="label_2">
<property name="text">
- <string>Show numbers on map</string>
- </property>
- <property name="checked">
- <bool>true</bool>
+ <string>Tile list:</string>
</property>
</widget>
</item>
<item>
- <widget class="QCheckBox" name="mirror_CheckBox">
- <property name="text">
- <string>Mirror tile</string>
+ <widget class="QListWidget" name="tileList">
+ <property name="maximumSize">
+ <size>
+ <width>256</width>
+ <height>16777215</height>
+ </size>
</property>
</widget>
</item>
- </layout>
- </item>
- <item row="5" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout">
<item>
- <widget class="QPushButton" name="CreateMap_Btn">
+ <widget class="QLabel" name="label_3">
<property name="text">
- <string>Create map</string>
+ <string>Building list:</string>
</property>
</widget>
</item>
<item>
- <widget class="QPushButton" name="LoadMap_Btn">
- <property name="text">
- <string>Load map</string>
- </property>
- </widget>
+ <widget class="QListWidget" name="buildingList"/>
</item>
<item>
- <widget class="QPushButton" name="saveMap_Btn">
- <property name="text">
- <string>Save map</string>
- </property>
- </widget>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <item>
+ <widget class="QCheckBox" name="showNumbers_Checkbox">
+ <property name="text">
+ <string>Show numbers on map</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="mirror_CheckBox">
+ <property name="text">
+ <string>Mirror tile</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <item>
+ <widget class="QPushButton" name="CreateMap_Btn">
+ <property name="text">
+ <string>Create map</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="LoadMap_Btn">
+ <property name="text">
+ <string>Load map</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="saveMap_Btn">
+ <property name="text">
+ <string>Save map</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</item>
</layout>
</item>
- <item row="1" column="2">
- <widget class="QGraphicsView" name="graphicsView">
- <property name="minimumSize">
- <size>
- <width>640</width>
- <height>480</height>
- </size>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QListWidget" name="listWidget">
- <property name="maximumSize">
- <size>
- <width>256</width>
- <height>16777215</height>
- </size>
- </property>
- </widget>
- </item>
- <item row="0" column="0">
+ <item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label">
@@ -116,7 +143,7 @@
<x>0</x>
<y>0</y>
<width>920</width>
- <height>21</height>
+ <height>20</height>
</rect>
</property>
</widget>
@@ -129,6 +156,17 @@
</attribute>
</widget>
<widget class="QStatusBar" name="statusBar"/>
+ <widget class="QToolBar" name="toolBar">
+ <property name="windowTitle">
+ <string>toolBar</string>
+ </property>
+ <attribute name="toolBarArea">
+ <enum>TopToolBarArea</enum>
+ </attribute>
+ <attribute name="toolBarBreak">
+ <bool>false</bool>
+ </attribute>
+ </widget>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>