33 I_ASSIGN(m_selectionParamIdAttrPtr,
"SelectionParamId",
"ID of selection in this parameter set",
false,
"Input");
34 I_ASSIGN(m_currentSelectionCompPtr,
"CurrentSelection",
"Current selected index, if unspecified the selection from manager will be used",
false,
"CurrentSelection");
35 I_ASSIGN_TO(m_currentSelectionModelCompPtr, m_currentSelectionCompPtr,
false);
36 I_ASSIGN(m_paramsManagerCompPtr,
"ParamsManager",
"Manager of parameter set used to realize selection",
true,
"ParamsManager");
37 I_ASSIGN_TO(m_paramsManagerModelCompPtr, m_paramsManagerCompPtr,
false);
38 I_ASSIGN(m_allowEditingAttrPtr,
"AllowEditing",
"If enabled, the selected parameter set will be editable",
true,
false);
58 I_ATTR(QByteArray, m_selectionParamIdAttrPtr);
59 I_ATTR(
bool, m_allowEditingAttrPtr);
Base class for component implementation.
Reflects the changes of observed objects as changes of some other object (over istd::IChangeable),...
Common interface for model objects, that supports Model/Observer design pattern.
Interface allowing to select single option from list of options.
virtual iser::ISerializable * GetEditableParameter(const QByteArray &id) override
Get access to editable parameter (read-write access).
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
virtual const IParamsInfoProvider * GetParamsInfoProvider() const override
Get parameter information provider.
virtual void OnComponentCreated() override
CSelectableParamsSetComp()
virtual void OnComponentDestroyed() override
virtual const iser::ISerializable * GetParameter(const QByteArray &id) const override
Get any parameter (read-only access).
virtual Ids GetParamIds(bool editableOnly=false) const override
Get list of used parameter IDs in the parameter set.
icomp::CComponentBase BaseClass
Provider of parameter information (name and description).
Manager of parameter sets.
Set of general parameters.
Interface allowing to select single option from list of options.
Represents an input/output persistence archive for object serialization.
Common class for all classes which objects can be archived or restored from archive.
Contains interfaces and implementations of flexible parameter concept.