mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Ref T152, the fix for the issue reported: everything was prepared, but the setting not changed in the UI. Now excluded models can be added to model set.
This commit is contained in:
committed by
Mathew Sutcliffe
parent
8b8bc9b994
commit
2f577b7209
@@ -13,6 +13,7 @@
|
||||
#define BLACKGUI_COMPONENTS_SETTINGSMODELCOMPONENT_H
|
||||
|
||||
#include "blackgui/settings/guisettings.h"
|
||||
#include "blackmisc/simulation/settings/modelsettings.h"
|
||||
#include <QFrame>
|
||||
|
||||
namespace Ui { class CSettingsModelComponent; }
|
||||
@@ -43,12 +44,16 @@ namespace BlackGui
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CSettingsModelComponent> ui;
|
||||
BlackMisc::CSetting<BlackGui::Settings::TBackgroundConsolidation> m_consolidationSetting { this, &CSettingsModelComponent::cacheChanged }; //!< consolidation time
|
||||
BlackMisc::CSetting<Settings::TBackgroundConsolidation> m_consolidationSetting { this, &CSettingsModelComponent::cacheChanged }; //!< consolidation time
|
||||
BlackMisc::CSetting<BlackMisc::Simulation::Settings::TModel> m_modelSettings { this, &CSettingsModelComponent::cacheChanged }; //!< model setting
|
||||
const BlackCore::Db::CBackgroundDataUpdater *m_updater = nullptr; //!< externally (i.e. other component) provided existing updater
|
||||
|
||||
//! Consolidation time entered
|
||||
void consolidationEntered();
|
||||
|
||||
//! Allow excluded models changed
|
||||
void allowExcludedModelsChanged(bool allow);
|
||||
|
||||
//! Cache has been changed
|
||||
void cacheChanged();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user