From fb243cca8ca55c00bf991e750ffc968b46d3a85d Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Sun, 10 Jun 2018 02:17:56 +0200 Subject: [PATCH] Ref T275, log display using aircraft situation change view --- .../components/interpolationlogdisplay.cpp | 2 + .../components/interpolationlogdisplay.ui | 55 +++++++++++++++++-- 2 files changed, 51 insertions(+), 6 deletions(-) diff --git a/src/blackgui/components/interpolationlogdisplay.cpp b/src/blackgui/components/interpolationlogdisplay.cpp index a523e67cf..a013d0682 100644 --- a/src/blackgui/components/interpolationlogdisplay.cpp +++ b/src/blackgui/components/interpolationlogdisplay.cpp @@ -145,6 +145,8 @@ namespace BlackGui // ui->te_LastInterpolatedSituation->setText(sLog.toQString(false, true, true, false, "
")); ui->te_LastInterpolatedSituation->setText(sLog.situationCurrent.toQString(true)); ui->te_SituationChange->setText(sLog.change.toQString(true)); + ui->tvp_Changes->push_frontKeepLatestAdjustedFirst(sLog.change, 5); + ui->le_SceneryOffset->setText(sLog.change.getGuessedSceneryDeviation().valueRoundedWithUnit(CLengthUnit::ft(), 1)); ui->le_SceneryOffsetCG->setText(sLog.change.getGuessedSceneryDeviationCG().valueRoundedWithUnit(CLengthUnit::ft(), 1)); diff --git a/src/blackgui/components/interpolationlogdisplay.ui b/src/blackgui/components/interpolationlogdisplay.ui index 49648ddfc..7532ef158 100644 --- a/src/blackgui/components/interpolationlogdisplay.ui +++ b/src/blackgui/components/interpolationlogdisplay.ui @@ -200,7 +200,7 @@ - Data flow + Data flow I @@ -503,7 +503,7 @@ - QAbstractItemView::SingleSelection + QAbstractItemView::NoSelection QAbstractItemView::SelectRows @@ -523,7 +523,7 @@ - QAbstractItemView::SingleSelection + QAbstractItemView::NoSelection QAbstractItemView::SelectRows @@ -542,6 +542,32 @@ + + + Data flow II + + + + + + Calculated aircraft situation changes + + + + + + QAbstractItemView::NoSelection + + + false + + + + + + + + Interpolation @@ -585,7 +611,11 @@ 3 - + + + true + + @@ -609,7 +639,11 @@ 3 - + + + true + + @@ -633,7 +667,11 @@ 3 - + + + true + + @@ -681,6 +719,11 @@
blackgui/led.h
1 + + BlackGui::Views::CAircraftSituationChangeView + QTableView +
blackgui/views/aircraftsituationchangeview.h
+
comp_CallsignCompleter