C

QSafeEventVisibility Class

class SafeRenderer::QSafeEventVisibility

The QSafeEventVisibility class changes the item visibility between visible and hidden. More...

Header: #include <QSafeEventVisibility>
Since: QtSafeRenderer 1.0
Inherits: SafeRenderer::QSafeEvent

This class was introduced in QtSafeRenderer 1.0.

Public Functions

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

Detailed Description

The QSafeEventVisibility class changes the item visibility between visible and hidden.

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.