mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Ref T275, Ref T280 improved interpolation log and allow to disable all aircraft
* show when interpolation log updates its views (LED) * allow to disable all aircraft (one can disable all, then just enable one aircraft which is useful for debugging)
This commit is contained in:
@@ -47,6 +47,7 @@ namespace BlackGui
|
||||
ui->led_Situation->setValues(CLedWidget::Yellow, CLedWidget::Black, shape, "Situation received", "", 14);
|
||||
ui->led_Elevation->setValues(CLedWidget::Yellow, CLedWidget::Black, shape, "Elevation received", "", 14);
|
||||
ui->led_Running->setValues(CLedWidget::Yellow, CLedWidget::Black, shape, "Running", "Stopped", 14);
|
||||
ui->led_Updating->setValues(CLedWidget::Yellow, CLedWidget::Black, shape, "Just updating", "Idle", 14);
|
||||
|
||||
m_callsign = ui->comp_CallsignCompleter->getCallsign();
|
||||
|
||||
@@ -100,7 +101,12 @@ namespace BlackGui
|
||||
|
||||
void CInterpolationLogDisplay::updateLog()
|
||||
{
|
||||
if (!this->checkLogPrerequisites()) { return; }
|
||||
ui->led_Updating->blink(250);
|
||||
if (!this->checkLogPrerequisites())
|
||||
{
|
||||
ui->le_SimulatorSpecific->setText(m_simulatorCommon->getStatisticsSimulatorSpecific());
|
||||
return;
|
||||
}
|
||||
|
||||
// only display visible tab
|
||||
if (ui->tw_LogTabs->currentWidget() == ui->tb_TextLog)
|
||||
|
||||
Reference in New Issue
Block a user