Minor mapping tool UI adjustments

This commit is contained in:
Klaus Basan
2018-01-19 20:33:50 +01:00
parent bef22fcd27
commit 464f64367e
5 changed files with 30 additions and 24 deletions

View File

@@ -250,7 +250,7 @@ namespace BlackGui
ui->le_SimulatorDirectory->setPlaceholderText(s.isEmpty() ? "Simulator directory" : s); ui->le_SimulatorDirectory->setPlaceholderText(s.isEmpty() ? "Simulator directory" : s);
//! \fixme correct version when Qt multiline placeholder is fixed https://bugreports.qt.io/browse/QTBUG-43817 //! \fixme correct version when Qt multiline placeholder is fixed https://bugreports.qt.io/browse/QTBUG-43817
constexpr bool BrokenMultilinePlaceholder = true; constexpr bool BrokenMultilinePlaceholder = true; // last checked with Qt 5.10
const QStringList m = m_settings.getDefaultModelDirectories(simulator); const QStringList m = m_settings.getDefaultModelDirectories(simulator);
if (m.isEmpty()) if (m.isEmpty())
{ {

View File

@@ -123,7 +123,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="3"> <item row="0" column="3" alignment="Qt::AlignRight">
<widget class="QPushButton" name="pb_SearchColor"> <widget class="QPushButton" name="pb_SearchColor">
<property name="toolTip"> <property name="toolTip">
<string>find a color livery</string> <string>find a color livery</string>
@@ -232,7 +232,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2"> <item row="0" column="2" alignment="Qt::AlignLeft">
<widget class="QToolButton" name="tb_Paste"> <widget class="QToolButton" name="tb_Paste">
<property name="text"> <property name="text">
<string>...</string> <string>...</string>
@@ -249,6 +249,12 @@
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>BlackGui::Components::CColorSelector</class>
<extends>QFrame</extends>
<header>blackgui/components/colorselector.h</header>
<container>1</container>
</customwidget>
<customwidget> <customwidget>
<class>BlackGui::CLabelAndIcon</class> <class>BlackGui::CLabelAndIcon</class>
<extends>QFrame</extends> <extends>QFrame</extends>
@@ -266,12 +272,6 @@
<extends>QLabel</extends> <extends>QLabel</extends>
<header>blackgui/dropsite.h</header> <header>blackgui/dropsite.h</header>
</customwidget> </customwidget>
<customwidget>
<class>BlackGui::Components::CColorSelector</class>
<extends>QFrame</extends>
<header>blackgui/components/colorselector.h</header>
<container>1</container>
</customwidget>
<customwidget> <customwidget>
<class>BlackGui::Editors::CAirlineIcaoForm</class> <class>BlackGui::Editors::CAirlineIcaoForm</class>
<extends>QFrame</extends> <extends>QFrame</extends>

View File

@@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>407</width> <width>355</width>
<height>107</height> <height>104</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@@ -29,7 +29,7 @@
<property name="bottomMargin"> <property name="bottomMargin">
<number>2</number> <number>2</number>
</property> </property>
<item> <item alignment="Qt::AlignTop">
<widget class="QGroupBox" name="gb_ModelMappingForm"> <widget class="QGroupBox" name="gb_ModelMappingForm">
<property name="title"> <property name="title">
<string>Simulator model</string> <string>Simulator model</string>
@@ -135,7 +135,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="5"> <item row="2" column="5" alignment="Qt::AlignRight">
<widget class="QPushButton" name="pb_Stash"> <widget class="QPushButton" name="pb_Stash">
<property name="text"> <property name="text">
<string>Stash</string> <string>Stash</string>
@@ -159,7 +159,7 @@
<widget class="BlackGui::Components::CModelModeSelector" name="selector_ModelMode"> <widget class="BlackGui::Components::CModelModeSelector" name="selector_ModelMode">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>50</width>
<height>22</height> <height>22</height>
</size> </size>
</property> </property>

View File

@@ -72,7 +72,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>900</width> <width>900</width>
<height>21</height> <height>19</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menu_File"> <widget class="QMenu" name="menu_File">

View File

@@ -7,9 +7,15 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>400</width> <width>400</width>
<height>700</height> <height>650</height>
</rect> </rect>
</property> </property>
<property name="minimumSize">
<size>
<width>400</width>
<height>650</height>
</size>
</property>
<property name="windowTitle"> <property name="windowTitle">
<string>swift launcher</string> <string>swift launcher</string>
</property> </property>
@@ -93,7 +99,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>392</width> <width>392</width>
<height>349</height> <height>319</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
@@ -124,7 +130,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>392</width> <width>392</width>
<height>349</height> <height>319</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
@@ -189,7 +195,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>392</width> <width>392</width>
<height>349</height> <height>319</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
@@ -355,7 +361,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>392</width> <width>392</width>
<height>349</height> <height>319</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
@@ -437,7 +443,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>376</width> <width>376</width>
<height>179</height> <height>156</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="vl_DataUpdatesScrollArea"> <layout class="QVBoxLayout" name="vl_DataUpdatesScrollArea">
@@ -488,7 +494,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>392</width> <width>392</width>
<height>349</height> <height>319</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
@@ -507,7 +513,7 @@
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt; <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;title&gt;About swift&lt;/title&gt;&lt;style type=&quot;text/css&quot;&gt; &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;title&gt;About swift&lt;/title&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; } p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:7.875pt; font-weight:400; font-style:normal;&quot;&gt; &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8.1pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8.25pt;&quot;&gt;Credits will go here&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8.25pt;&quot;&gt;Credits will go here&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
<property name="openExternalLinks"> <property name="openExternalLinks">
@@ -542,7 +548,7 @@ p, li { white-space: pre-wrap; }
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>392</width> <width>392</width>
<height>112</height> <height>116</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">