C

QSafeEventVisibility Class

(SafeRenderer::QSafeEventVisibility)

The QSafeEventVisibility class provides an event that changes the item visibility. More...

Header: #include <QSafeEventVisibility>
Inherits: SafeRenderer::QSafeEvent

Public Functions

QSafeEventVisibility()
QSafeEventVisibility(const QSafeEvent &baseEvent)
quint32 getValue() const
quint32 id() const
void setId(const quint32 valueArg)
void setValue(const quint32 valueArg)

Additional Inherited Members

Detailed Description

The QSafeEventVisibility class provides an event that changes the item visibility.

Member Function Documentation

QSafeEventVisibility::QSafeEventVisibility()

Default constructs an instance of QSafeEventVisibility.

QSafeEventVisibility::QSafeEventVisibility(const QSafeEvent &baseEvent)

Default constructs an instance of QSafeEventVisibility.

quint32 QSafeEventVisibility::getValue() const

Returns the event's value.

quint32 QSafeEventVisibility::id() const

Returns this event's item id.

See also setId().

void QSafeEventVisibility::setId(const quint32 valueArg)

Sets the item id.

valueArg is the hash of the Safe Item's objectName in QML.

In case of a failure, the following exception will be thrown:

ConstantDescription
SafeRenderer::QSafeEvent::OutOfBoundsThe offset of the data goes out of the reserved memory area.

See also id().

void QSafeEventVisibility::setValue(const quint32 valueArg)

Sets visibility value.

If valueArg equals 0, item is hidden. If valueArg equals 1, item is shown.

In case of a failure, an exception is thrown:

ConstantDescription
SafeRenderer::QSafeEvent::OutOfBoundsThe offset of the data goes out of the reserved memory area.

Available under certain Qt licenses.
Find out more.