C

QSafeEventPosition Class

(SafeRenderer::QSafeEventPosition)

The QSafeEventPosition class changes the item position. More...

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

Public Functions

QSafeEventPosition()
QSafeEventPosition(const QSafeEvent &baseEvent)
quint32 id() const
void setId(const quint32 valueArg)
void setX(const quint32 valueArg)
void setY(const quint32 valueArg)
quint32 x() const
quint32 y() const

Additional Inherited Members

Detailed Description

The QSafeEventPosition class changes the item position.

Member Function Documentation

QSafeEventPosition::QSafeEventPosition()

Default constructs an instance of QSafeEventPosition.

QSafeEventPosition::QSafeEventPosition(const QSafeEvent &baseEvent)

Default constructs an instance of QSafeEventPosition.

quint32 QSafeEventPosition::id() const

Returns the event's item id.

See also setId().

void QSafeEventPosition::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 QSafeEventPosition::setX(const quint32 valueArg)

Set the item's x-coordinate to valueArg.

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 x().

void QSafeEventPosition::setY(const quint32 valueArg)

Set the item's y-coordinate to valueArg.

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 y().

quint32 QSafeEventPosition::x() const

Returns x-coordinate.

See also setX().

quint32 QSafeEventPosition::y() const

Returns the y-coordinate.

See also setY().

Available under certain Qt licenses.
Find out more.