mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 03:45:30 +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);
|
const QString log = m_simulator->latestLoggedDataFormatted(m_callsign);
|
||||||
ui->te_TextLog->setText(log);
|
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->setText(m_airspaceMonitor->getSimulatorCG(m_callsign).valueRoundedWithUnit(CLengthUnit::ft(), 1));
|
||||||
ui->le_CG->home(false);
|
ui->le_CG->home(false);
|
||||||
|
|||||||
@@ -25,8 +25,8 @@
|
|||||||
#include <QScopedPointer>
|
#include <QScopedPointer>
|
||||||
#include <QPointer>
|
#include <QPointer>
|
||||||
|
|
||||||
namespace BlackCore { class CAirspaceMonitor; }
|
|
||||||
namespace Ui { class CInterpolationLogDisplay; }
|
namespace Ui { class CInterpolationLogDisplay; }
|
||||||
|
namespace BlackCore { class CAirspaceMonitor; }
|
||||||
namespace BlackGui
|
namespace BlackGui
|
||||||
{
|
{
|
||||||
namespace Components
|
namespace Components
|
||||||
|
|||||||
@@ -342,12 +342,18 @@
|
|||||||
<property name="readOnly">
|
<property name="readOnly">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="placeholderText">
|
||||||
|
<string>simulator specific information</string>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QLabel" name="lbl_CG">
|
<widget class="QLabel" name="lbl_CG">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Simulator CG per callsign</string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>CG:</string>
|
<string>Sim.CG:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -871,11 +877,11 @@
|
|||||||
<item row="1" column="1">
|
<item row="1" column="1">
|
||||||
<widget class="QListView" name="lv_ElevevationHistory"/>
|
<widget class="QListView" name="lv_ElevevationHistory"/>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="0" colspan="2">
|
<item row="0" column="1">
|
||||||
<widget class="QWidget" name="wi_ElvButtons" native="true">
|
<widget class="QWidget" name="wi_ElvButtons" native="true">
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
<item>
|
<item>
|
||||||
<spacer name="hs_Elevation">
|
<spacer name="hs_ElvButtons">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Horizontal</enum>
|
<enum>Qt::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
@@ -943,6 +949,13 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="0" column="0">
|
||||||
|
<widget class="QLabel" name="lbl_ElevationAtPosition">
|
||||||
|
<property name="text">
|
||||||
|
<string>Elevation for coordinates:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
Reference in New Issue
Block a user