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);
//! \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);
if (m.isEmpty())
{

View File

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

View File

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