Ref T609, UI setting for COM synced

This commit is contained in:
Klaus Basan
2019-04-19 23:23:04 +02:00
parent 53fb28d70c
commit 90373c3a34
3 changed files with 205 additions and 216 deletions

View File

@@ -38,7 +38,7 @@ namespace BlackGui
explicit CSettingsSimulatorComponent(QWidget *parent = nullptr);
//! Destructor
virtual ~CSettingsSimulatorComponent();
virtual ~CSettingsSimulatorComponent() override;
private:
//! Driver plugin enabled/disabled
@@ -56,6 +56,9 @@ namespace BlackGui
//! Apply time synchronization
void onApplyTimeSync();
//! Apply COM sync
void onApplyComSync();
//! Clear restricted rendering
void clearRestricedRendering();
@@ -82,7 +85,7 @@ namespace BlackGui
QScopedPointer<Ui::CSettingsSimulatorComponent> ui; //!< UI
bool m_pluginLoaded = false; //!< plugin loaded?
BlackCore::CPluginManagerSimulator* m_plugins = nullptr;
BlackCore::CPluginManagerSimulator *m_plugins = nullptr;
BlackMisc::CSetting<BlackCore::Application::TEnabledSimulators> m_enabledSimulators { this, &CSettingsSimulatorComponent::reloadPluginConfig };
};
}