C

QSafeEventVisibility Class

class SafeRenderer::QSafeEventVisibility

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

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

Public Functions

SafeRenderer::quint32 getValue() const
SafeRenderer::quint32 id() const
void setId(const SafeRenderer::quint32 valueArg)
void setValue(const SafeRenderer::quint32 valueArg)

Detailed Description

Member Function Documentation

SafeRenderer::quint32 QSafeEventVisibility::getValue() const

Returns the event's value.

SafeRenderer::quint32 QSafeEventVisibility::id() const

Returns this event's item id.

See also setId().

void QSafeEventVisibility::setId(const SafeRenderer::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 SafeRenderer::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.