mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 01:05:35 +08:00
Ref T709, UI for settings "lights" and "message box margins"
This commit is contained in:
committed by
Mat Sutcliffe
parent
0da1881003
commit
23d29e1f33
@@ -37,18 +37,21 @@ namespace BlackSimPlugin
|
||||
virtual ~CSimulatorXPlaneConfigWindow() override;
|
||||
|
||||
private:
|
||||
//! Settings have been accepted
|
||||
void onSettingsAccepted();
|
||||
|
||||
//! Settings from UI
|
||||
BlackMisc::Simulation::Settings::CXSwiftBusSettings getSettingsFromUI() const;
|
||||
|
||||
//! Set settings
|
||||
void setUiValues(const BlackMisc::Simulation::Settings::CXSwiftBusSettings &settings);
|
||||
|
||||
//! Settings have been accepted
|
||||
void onSettingsAccepted();
|
||||
|
||||
//! Settings changed
|
||||
void onSettingsChanged();
|
||||
|
||||
//! Margin value to int
|
||||
static int marginToInt(const QString &text, int defaultValue);
|
||||
|
||||
QScopedPointer<Ui::CSimulatorXPlaneConfigWindow> ui;
|
||||
BlackMisc::CSetting<BlackMisc::Simulation::Settings::TXSwiftBusSettings> m_xSwiftBusServerSettings { this, &CSimulatorXPlaneConfigWindow::onSettingsChanged };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user