![]() |
ImFusion C++ SDK 4.5.0
|
#include <ImFusion/ML/ModelManagerSettings.h>
Settings schema used by the global Settings dialog for the Model Manager page. More...
Settings schema used by the global Settings dialog for the Model Manager page.
This configurable currently defines metadata (label/lazy init behavior) and is persisted via GlobalSettings. The actual interactive controls are implemented in ModelManagerSettingsWidget.
Lazy-init behavior:
Why this is used: Opening ModelManagerSettingsWidget may trigger expensive initialization work (e.g. model manager setup, local directory checks, remote/local model list refresh). Deferring that work avoids startup latency when users open Settings but do not navigate to the Model Manager section.
Public Member Functions | |
| ModelManagerSettings () | |
| Loads persisted values from GlobalSettings. | |
| ~ModelManagerSettings () override | |
| Stores values back to GlobalSettings. | |
| void | configure (const Properties *p) override |
| Applies values from a serialized properties object. | |
| void | configuration (Properties *p) const override |
| Serializes values and UI-related metadata used by SettingsDialog. | |
| Public Member Functions inherited from ImFusion::Configurable | |
| virtual void | configureDefaults () |
| Retrieve the properties of this object, replaces values with their defaults and sets it again. | |
| void | registerParameter (ParameterBase *param) |
| Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration(). | |
| void | unregisterParameter (const ParameterBase *param) |
| Remove the given Parameter or SubProperty from the list of registered parameters. | |
| Configurable (const Configurable &rhs) | |
| Configurable (Configurable &&rhs) noexcept | |
| Configurable & | operator= (const Configurable &) |
| Configurable & | operator= (Configurable &&) noexcept |
Additional Inherited Members | |
| Public Attributes inherited from ImFusion::Configurable | |
| Signal | signalParametersChanged |
| Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
| Protected Attributes inherited from ImFusion::Configurable | |
| std::vector< Param > | m_params |
| List of all registered Parameter and SubProperty instances. | |
|
overridevirtual |
Applies values from a serialized properties object.
Reimplemented from ImFusion::Configurable.
|
overridevirtual |
Serializes values and UI-related metadata used by SettingsDialog.
Reimplemented from ImFusion::Configurable.