mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Ref T773, minor log.display improvements
This commit is contained in:
committed by
Mat Sutcliffe
parent
b4a7d59b7b
commit
4de544a991
@@ -138,7 +138,7 @@ namespace BlackGui
|
||||
const QString log = m_simulator->latestLoggedDataFormatted(m_callsign);
|
||||
ui->te_TextLog->setText(log);
|
||||
}
|
||||
else if (ui->tw_LogTabs->currentWidget() == ui->tb_DataFlow)
|
||||
else if (ui->tw_LogTabs->currentWidget() == ui->tb_DataFlow && m_airspaceMonitor)
|
||||
{
|
||||
ui->le_CG->setText(m_airspaceMonitor->getSimulatorCG(m_callsign).valueRoundedWithUnit(CLengthUnit::ft(), 1));
|
||||
ui->le_CG->home(false);
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
#include <QScopedPointer>
|
||||
#include <QPointer>
|
||||
|
||||
namespace BlackCore { class CAirspaceMonitor; }
|
||||
namespace Ui { class CInterpolationLogDisplay; }
|
||||
namespace BlackCore { class CAirspaceMonitor; }
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
|
||||
@@ -342,12 +342,18 @@
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>simulator specific information</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="lbl_CG">
|
||||
<property name="toolTip">
|
||||
<string>Simulator CG per callsign</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>CG:</string>
|
||||
<string>Sim.CG:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -871,11 +877,11 @@
|
||||
<item row="1" column="1">
|
||||
<widget class="QListView" name="lv_ElevevationHistory"/>
|
||||
</item>
|
||||
<item row="0" column="0" colspan="2">
|
||||
<item row="0" column="1">
|
||||
<widget class="QWidget" name="wi_ElvButtons" native="true">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<spacer name="hs_Elevation">
|
||||
<spacer name="hs_ElvButtons">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
@@ -943,6 +949,13 @@
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="lbl_ElevationAtPosition">
|
||||
<property name="text">
|
||||
<string>Elevation for coordinates:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user