Fixed quick mapping wizard

* preselect rows if data are already from DB
* guess simulator and filter distributors by simulator
* allow to override simulator data (checkboxes)
* improved validation messages
This commit is contained in:
Klaus Basan
2019-03-23 19:58:57 +01:00
committed by Mat Sutcliffe
parent 5eeb29bafe
commit de4adda779
3 changed files with 115 additions and 15 deletions

View File

@@ -427,7 +427,7 @@
<string>Distributor / package</string>
</property>
<property name="subTitle">
<string>Select the correct package / distributor</string>
<string>Select the correct package / distributor. HINT: Use 'ZZZZ' if there is no corresponding simulator-</string>
</property>
<layout class="QVBoxLayout" name="vl_DistributorPage">
<item>
@@ -450,6 +450,25 @@
<string>Check if the data are correct</string>
</property>
<layout class="QVBoxLayout" name="vl_ConfirmationPage">
<item>
<widget class="QGroupBox" name="gb_SupportedSimulators">
<property name="title">
<string>Supported simulators</string>
</property>
<layout class="QHBoxLayout" name="hl_SupportedSimulators">
<item alignment="Qt::AlignLeft">
<widget class="BlackGui::Components::CSimulatorSelector" name="selector_Simulator">
<property name="minimumSize">
<size>
<width>175</width>
<height>20</height>
</size>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="BlackGui::Editors::CAircraftModelForm" name="editor_AircraftModel">
<property name="minimumSize">
@@ -658,6 +677,12 @@
<header>blackgui/overlaymessagesframe.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>BlackGui::Components::CSimulatorSelector</class>
<extends>QFrame</extends>
<header>blackgui/components/simulatorselector.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>le_ModelString</tabstop>