Ref T111, changed internals page to use aircraft parts form

This commit is contained in:
Klaus Basan
2017-08-05 00:47:22 +02:00
committed by Mathew Sutcliffe
parent eea6039d58
commit 90b757473c
3 changed files with 17 additions and 347 deletions

View File

@@ -500,216 +500,17 @@
<number>2</number>
</property>
<item>
<layout class="QGridLayout" name="gl_AircraftParts">
<property name="spacing">
<number>4</number>
<widget class="BlackGui::Editors::CAircraftPartsForm" name="editor_AircraftParts">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<item row="4" column="1">
<widget class="QCheckBox" name="cb_AircraftPartsLightsStrobe">
<property name="text">
<string>Strobe</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QCheckBox" name="cb_AircraftPartsLightsBeacon">
<property name="text">
<string>Beacon</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QCheckBox" name="cb_AircraftPartsLightsLanding">
<property name="text">
<string>Landing</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="cb_AircraftPartsGearDown">
<property name="text">
<string>Gear down</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="lbl_AircraftPartsEngines">
<property name="text">
<string>Engines:</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="lbl_AircraftPartsFlapsPercentage">
<property name="text">
<string>Flaps %:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="cb_AircraftPartsLightsTaxi">
<property name="text">
<string>Taxi</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="cb_AircraftPartsSpoilers">
<property name="text">
<string>Spoilers</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="lbl_AircraftPartsLights">
<property name="text">
<string>Lights:</string>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QCheckBox" name="cb_AircraftPartsLightsLogo">
<property name="text">
<string>Logo</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="pb_AircraftPartsLightsOn">
<property name="text">
<string>all on</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="pb_AircraftPartsLightsOff">
<property name="text">
<string>all off</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QCheckBox" name="cb_AircraftPartsLightsNav">
<property name="text">
<string>Nav</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="sb_AircraftPartsFlapsPercentage">
<property name="maximum">
<number>100</number>
</property>
<property name="singleStep">
<number>5</number>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QPushButton" name="pb_AircraftPartsEnginesOff">
<property name="text">
<string>all off</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QPushButton" name="pb_AircraftPartsEnginesOn">
<property name="text">
<string>all on</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="pb_AircraftPartsUiToJson">
<property name="text">
<string>to JSON</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QCheckBox" name="cb_AircraftPartsIsOnGround">
<property name="text">
<string>on ground</string>
</property>
</widget>
</item>
<item row="6" column="0" colspan="3">
<widget class="QFrame" name="fr_Engines">
<property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="hl_Engines">
<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="QCheckBox" name="cb_AircraftPartsEngine1">
<property name="text">
<string>1</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cb_AircraftPartsEngine2">
<property name="text">
<string>2</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cb_AircraftPartsEngine3">
<property name="text">
<string>3</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cb_AircraftPartsEngine4">
<property name="text">
<string>4</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cb_AircraftPartsEngine5">
<property name="text">
<string>5</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cb_AircraftPartsEngine6">
<property name="text">
<string>6</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QTextEdit" name="te_AircraftPartsJson"/>
</widget>
</item>
</layout>
@@ -783,6 +584,12 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>BlackGui::Editors::CAircraftPartsForm</class>
<extends>QFrame</extends>
<header>blackgui/editors/aircraftpartsform.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>BlackGui::Components::CRemoteAircraftSelector</class>
<extends>QFrame</extends>