mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Ref T131, allow to obtain settings from UI component
Useful if we want to avoid to duplicate the settings, but access existing ones
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#define BLACKGUI_COMPONENTS_SETTINGSCOMPONENT_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackmisc/simulation/settings/simulatorsettings.h"
|
||||
#include <QColor>
|
||||
#include <QObject>
|
||||
#include <QScopedPointer>
|
||||
@@ -57,6 +58,9 @@ namespace BlackGui
|
||||
//! \copydoc CAudioSetupComponent::playNotificationSounds
|
||||
bool playNotificationSounds() const;
|
||||
|
||||
//! Settings for given simulator
|
||||
BlackMisc::Simulation::Settings::CSpecializedSimulatorSettings getSimulatorSettings(const BlackMisc::Simulation::CSimulatorInfo &simulator) const;
|
||||
|
||||
signals:
|
||||
//! Change the windows opacity 0..100
|
||||
void changedWindowsOpacity(int opacity);
|
||||
|
||||
Reference in New Issue
Block a user