29 I_ASSIGN_MULTI_0(m_optionNamesAttrPtr,
"OptionNames",
"Names of selectable options",
true);
30 I_ASSIGN_MULTI_0(m_optionDescriptionsAttrPtr,
"OptionDescriptions",
"Descriptions of selectable options",
true);
31 I_ASSIGN_MULTI_0(m_optionIdsAttrPtr,
"OptionIds",
"List of option IDs",
true);
32 I_ASSIGN_MULTI_0(m_optionsEnablersCompPtr,
"OptionEnablers",
"List of enablers for the options",
false);
46 I_MULTIATTR(QByteArray, m_optionIdsAttrPtr);
Base class for component implementation.
Implementation of selection constraints.
virtual QString GetOptionName(int index) const override
Get name of specified option.
virtual QByteArray GetOptionId(int index) const override
Get option ID.
icomp::CComponentBase BaseClass
virtual bool IsOptionEnabled(int index) const override
Return true if the option is enabled and can be selected.
virtual int GetOptionsFlags() const override
Get constraints flags.
virtual int GetOptionsCount() const override
Get number of managed options.
virtual QString GetOptionDescription(int index) const override
Get human-readable description for an option.
Interface for objects which can be enabled/disabled.
Constraints of selection from set of possibilities.
Common interface for data model objects, which can be changed.
#define I_MULTITEXTATTR(member)
Declare translatable multiple text attribute member.
Contains interfaces and implementations of flexible parameter concept.