mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 21:05:34 +08:00
Ref T171, added statistics in emulated driver
* UI part * fixed minor typo * fixed setting of rendered flag * UI connections Qt::QueuedConnection
This commit is contained in:
@@ -12,12 +12,14 @@
|
||||
#ifndef BLACKSIMPLUGIN_EMULATED_SIMULATOREMULATEDMONITORDIALOG_H
|
||||
#define BLACKSIMPLUGIN_EMULATED_SIMULATOREMULATEDMONITORDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QScopedPointer>
|
||||
#include "blackmisc/simulation/simulatedaircraft.h"
|
||||
#include "blackmisc/statusmessagelist.h"
|
||||
#include "blackmisc/logcategorylist.h"
|
||||
|
||||
#include <QDialog>
|
||||
#include <QScopedPointer>
|
||||
#include <QTimer>
|
||||
|
||||
namespace Ui { class CSimulatorEmulatedMonitorDialog; }
|
||||
namespace BlackSimPlugin
|
||||
{
|
||||
@@ -85,10 +87,17 @@ namespace BlackSimPlugin
|
||||
void setSimulatorUiValues();
|
||||
|
||||
//! Set values from internal aircraft
|
||||
void setInteralAircraftUiValues();
|
||||
void setInternalAircraftUiValues();
|
||||
|
||||
//! Timer based UI updates (pulling)
|
||||
void timerBasedUiUpdates();
|
||||
|
||||
//! Reset statistics
|
||||
void resetStatistics();
|
||||
|
||||
QScopedPointer<Ui::CSimulatorEmulatedMonitorDialog> ui;
|
||||
CSimulatorEmulated *m_simulator = nullptr;
|
||||
QTimer m_uiUpdateTimer { this };
|
||||
};
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user