Mapping component, hide splitter when model details are not needed (based on selected tab)

This commit is contained in:
Klaus Basan
2018-03-19 20:47:20 +01:00
parent 07589e8219
commit a4b1fca376
3 changed files with 53 additions and 36 deletions

View File

@@ -31,7 +31,7 @@
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<widget class="QTabWidget" name="tw_ListViews">
<widget class="QTabWidget" name="tw_SpecializedViews">
<property name="currentIndex">
<number>0</number>
</property>
@@ -149,28 +149,6 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="tb_AircraftPartsHistory">
<attribute name="title">
<string>Aircraft parts log</string>
</attribute>
<layout class="QVBoxLayout" name="vl_AircraftPartsHistory">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="BlackGui::Components::CAircraftPartsHistory" name="comp_AircraftPartsHistory"/>
</item>
</layout>
</widget>
</widget>
<widget class="QFrame" name="fr_AircraftModifications">
<property name="maximumSize">
@@ -327,12 +305,6 @@
<header>blackgui/components/modelmatcherlogcomponent.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>BlackGui::Components::CAircraftPartsHistory</class>
<extends>QFrame</extends>
<header>blackgui/components/aircraftpartshistory.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>BlackGui::Components::CAircraftModelStringCompleter</class>
<extends>QFrame</extends>