mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 23:05:34 +08:00
Ref T412, Ref T407, Ref T227, update aircraft UI if aircraft was moved
This commit is contained in:
@@ -32,6 +32,7 @@ namespace Ui { class CAircraftComponent; }
|
||||
namespace BlackGui
|
||||
{
|
||||
class CDockWidgetInfoArea;
|
||||
|
||||
namespace Components
|
||||
{
|
||||
//! Aircraft widget
|
||||
@@ -76,6 +77,9 @@ namespace BlackGui
|
||||
void requestTextMessageWidget(const BlackMisc::Aviation::CCallsign &callsign);
|
||||
|
||||
private:
|
||||
//! Update the views
|
||||
void updateViews();
|
||||
|
||||
//! Info area tab bar has changed
|
||||
void onInfoAreaTabBarChanged(int index);
|
||||
|
||||
@@ -88,6 +92,9 @@ namespace BlackGui
|
||||
//! Settings have been changed
|
||||
void onSettingsChanged();
|
||||
|
||||
//! Own aircraft has been moved
|
||||
void onOwnAircraftMoved();
|
||||
|
||||
QScopedPointer<Ui::CAircraftComponent> ui;
|
||||
BlackMisc::CSettingReadOnly<BlackGui::Settings::TViewUpdateSettings> m_settings { this, &CAircraftComponent::onSettingsChanged }; //!< settings changed
|
||||
QTimer m_updateTimer;
|
||||
|
||||
Reference in New Issue
Block a user