refs #755, mapping UI improvements

* make drop area more obvious by icon and color
* improve forms so the layout looks better on large screens
* button to display model dialog (like distributor, ICAO, ...)
This commit is contained in:
Klaus Basan
2016-09-02 23:00:12 +02:00
committed by Roland Winklmeier
parent aafff6cd82
commit 10325ee8a9
18 changed files with 67 additions and 51 deletions

View File

@@ -7,13 +7,13 @@
<x>0</x>
<y>0</y>
<width>402</width>
<height>241</height>
<height>271</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>220</height>
<height>225</height>
</size>
</property>
<property name="windowTitle">
@@ -40,7 +40,7 @@
<property name="title">
<string>Aircraft ICAO</string>
</property>
<layout class="QGridLayout" name="gl_AircraftIcao">
<layout class="QGridLayout" name="gl_AircraftIcao" columnstretch="0,1,0">
<item row="1" column="1">
<widget class="QWidget" name="wi_DesignatorRank" native="true">
<layout class="QHBoxLayout" name="hl_DesignatorRank">

View File

@@ -40,7 +40,7 @@
<property name="title">
<string>Airline ICAO</string>
</property>
<layout class="QGridLayout" name="gl_AirlineIcao">
<layout class="QGridLayout" name="gl_AirlineIcao" columnstretch="0,1,0">
<item row="5" column="1">
<widget class="QWidget" name="wi_Timestamps" native="true">
<layout class="QHBoxLayout" name="hl_Timestamps">

View File

@@ -6,14 +6,14 @@
<rect>
<x>0</x>
<y>0</y>
<width>299</width>
<height>175</height>
<width>297</width>
<height>200</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>175</height>
<height>185</height>
</size>
</property>
<property name="windowTitle">
@@ -40,7 +40,7 @@
<property name="title">
<string>Distributor</string>
</property>
<layout class="QGridLayout" name="gl_Distributor">
<layout class="QGridLayout" name="gl_Distributor" columnstretch="0,1,1,0">
<item row="2" column="1">
<widget class="QLineEdit" name="le_Alias1">
<property name="placeholderText">

View File

@@ -2,14 +2,6 @@
<ui version="4.0">
<class>CLiveryForm</class>
<widget class="QFrame" name="CLiveryForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>361</width>
<height>422</height>
</rect>
</property>
<property name="windowTitle">
<string>Livery editor</string>
</property>
@@ -34,7 +26,7 @@
<property name="title">
<string>Livery</string>
</property>
<layout class="QGridLayout" name="gl_Livery">
<layout class="QGridLayout" name="gl_Livery" columnstretch="0,1,1,1,0">
<item row="4" column="0">
<widget class="QLabel" name="lbl_Timestamp">
<property name="text">
@@ -140,14 +132,7 @@
</widget>
</item>
<item row="0" column="0">
<widget class="BlackGui::CLabelAndIcon" name="lai_Id">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
<widget class="BlackGui::CLabelAndIcon" name="lai_Id"/>
</item>
<item row="6" column="0" colspan="4">
<widget class="BlackGui::Editors::CAirlineIcaoForm" name="editor_AirlineIcao">