Class to contain all the properties relevant to comms::field::BitmaskValue fields.
|
| BitmaskValue () |
| Default constructor.
|
|
| BitmaskValue (BitmaskValue &&) |
| Move constructor.
|
|
| BitmaskValue (const BitmaskValue &) |
| Copy constructor.
|
|
| BitmaskValue (const QVariant &props) |
| Construct from QVariant containing QVariantMap.
|
|
| BitmaskValue (const QVariantMap &props) |
| Construct from QVariantMap.
|
|
| ~BitmaskValue () noexcept |
| Destructor.
|
|
BitmaskValue & | add (const QString &bitName) |
| Add bit description.
|
|
BitmaskValue & | add (int idx, const QString &bitName) |
| Add bit description.
|
|
QVariantMap | asMap () const |
| Retrieve all properties as map.
|
|
const BitsList & | bits () const |
| Get access to bits information.
|
|
BitmaskValue & | hidden (bool value=true) |
| Set whether the field is hidden.
|
|
BitmaskValue & | hiddenWhenReadOnly (bool value=true) |
| Set whether the field must be hidden when cannot be modified.
|
|
bool | isHidden () const |
| Check the field is hidden.
|
|
bool | isHiddenWhenReadOnly () const |
| Check the field is hidden when readOnly.
|
|
bool | isReadOnly () const |
| Check whether the field cannot be modified.
|
|
bool | isSerialisedHidden () const |
| Check the serialisation part is hidden.
|
|
const QString & | name () const |
| Get name of the field.
|
|
BitmaskValue & | name (const char *value) |
| Set name value.
|
|
BitmaskValue & | name (const QString &value) |
| Set name value.
|
|
BitmaskValue & | operator= (BitmaskValue &&) |
| Move assignment.
|
|
BitmaskValue & | operator= (const BitmaskValue &) |
| Copy assignment.
|
|
BitmaskValue & | readOnly (bool value=true) |
| Set whether the field cannot be modified.
|
|
BitmaskValue & | serialisedHidden (bool value=true) |
| Set whether the serialised part is hidden.
|
|
void | setName (const char *value) |
| Update the name value.
|
|
void | setName (const QString &value) |
| Update the name value.
|
|
void | setTo (QVariantMap &props) const |
| Copy all the properties value into provided properties map.
|
|