mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
Ref T709, UI for XPlane settings (plugin config window)
This commit is contained in:
committed by
Mat Sutcliffe
parent
49a9a767a3
commit
dd6e14e2c8
@@ -34,14 +34,23 @@ namespace BlackSimPlugin
|
||||
CSimulatorXPlaneConfigWindow(QWidget *parent);
|
||||
|
||||
//! Dtor.
|
||||
virtual ~CSimulatorXPlaneConfigWindow();
|
||||
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 changed
|
||||
void onSettingsChanged();
|
||||
|
||||
QScopedPointer<Ui::CSimulatorXPlaneConfigWindow> ui;
|
||||
BlackMisc::CSetting<BlackMisc::Simulation::Settings::TXSwiftBusServer> m_xswiftbusServerSetting { this };
|
||||
BlackMisc::CSetting<BlackMisc::Simulation::Settings::TXSwiftBusSettings> m_xSwiftBusServerSettings { this, &CSimulatorXPlaneConfigWindow::onSettingsChanged };
|
||||
};
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user