mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
refs #617, allow to use CGuiActionBindHandler with buttons
* used for weather enable/disable * use actionBindWasDestroyed when corresponding BlackCore::CActionBind is destroyed
This commit is contained in:
committed by
Mathew Sutcliffe
parent
1889270011
commit
74d608b5df
@@ -12,8 +12,9 @@
|
||||
#ifndef BLACKGUI_WEATHERCOMPONENT_H
|
||||
#define BLACKGUI_WEATHERCOMPONENT_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/components/enablefordockwidgetinfoarea.h"
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackcore/actionbind.h"
|
||||
#include "blackmisc/geo/coordinategeodetic.h"
|
||||
#include "blackmisc/simulation/simulatorsettings.h"
|
||||
#include "blackmisc/weather/weatherscenario.h"
|
||||
@@ -77,6 +78,7 @@ namespace BlackGui
|
||||
QTimer m_weatherUpdateTimer { this };
|
||||
BlackMisc::Geo::CCoordinateGeodetic m_lastOwnAircraftPosition;
|
||||
BlackMisc::CSetting<BlackMisc::Simulation::TSelectedWeatherScenario> m_weatherScenarioSetting { this };
|
||||
BlackCore::CActionBindings m_hotkeyBindings;
|
||||
bool m_isWeatherActivated = false;
|
||||
};
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user