Go to the documentation of this file.
6#ifndef iprm_CSelectionConstraintsComp_included
7#define iprm_CSelectionConstraintsComp_included
34 I_ASSIGN_MULTI_0(m_optionNamesAttrPtr,
"OptionNames",
"Names of selectable options",
true);
35 I_ASSIGN_MULTI_0(m_optionDescriptionsAttrPtr,
"OptionDescriptions",
"Descriptions of selectable options",
true);
36 I_ASSIGN_MULTI_0(m_optionIdsAttrPtr,
"OptionIds",
"List of option IDs",
true);
37 I_ASSIGN_MULTI_0(m_optionsEnablersCompPtr,
"OptionEnablers",
"List of enablers for the options",
false);
51 I_MULTIATTR(QByteArray, m_optionIdsAttrPtr);
Base class for component implementation.
Implementation of selection constraints.
QString GetOptionDescription(int index) const override
Get human readable description for a option with the index index.
QString GetOptionName(int index) const override
Get name of specified option.
bool IsOptionEnabled(int index) const override
Return true if the option is enabled and can be selected.
int GetOptionsCount() const override
Get number of managed options.
QByteArray GetOptionId(int index) const override
Get option ID.
icomp::CComponentBase BaseClass
int GetOptionsFlags() const override
Get constraints flags.
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.
© Witold Gantzke and Kirill Lepskiy