Class to contain all the properties relevant to comms::field::Bundle fields.
|
| Bundle () |
| Default constructor.
|
|
| Bundle (Bundle &&) |
| Move constructor.
|
|
| Bundle (const Bundle &) |
| Copy constructor.
|
|
| Bundle (const QVariant &props) |
| Construct from QVariant containing QVariantMap.
|
|
| Bundle (const QVariantMap &props) |
| Construct from QVariantMap.
|
|
| ~Bundle () noexcept |
| Destructor.
|
|
Bundle & | add (const QVariantMap &memberProps) |
| Add properties of the next member.
|
|
Bundle & | add (QVariantMap &&memberProps) |
| Add properties of the next member.
|
|
QVariantMap | asMap () const |
| Retrieve all properties as map.
|
|
Bundle & | hidden (bool value=true) |
| Set whether the field is hidden.
|
|
Bundle & | 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 MembersList & | members () const |
| Get access to the properties of contained members.
|
|
const QString & | name () const |
| Get name of the field.
|
|
Bundle & | name (const char *value) |
| Set name value.
|
|
Bundle & | name (const QString &value) |
| Set name value.
|
|
Bundle & | operator= (Bundle &&) |
| Move assignment.
|
|
Bundle & | operator= (const Bundle &) |
| Copy assignment.
|
|
Bundle & | readOnly (bool value=true) |
| Set whether the field cannot be modified.
|
|
Bundle & | 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.
|
|