C
SafeRenderer::QSafeEventItemTouch Class
class SafeRenderer::QSafeEventItemTouchThe QSafeEventItemTouch class contains parameters that describe a touch event. More...
Header: | #include <QSafeEventItemTouch> |
Since: | QtSafeRenderer 3.0 |
Inherits: | SafeRenderer::QSafeEvent |
Public Functions
QSafeEventItemTouch() | |
QSafeEventItemTouch(const SafeRenderer::QSafeEvent &baseEvent) | |
SafeRenderer::quint32 | itemId() const |
bool | pressed() const |
void | setItemId(const SafeRenderer::quint32 valueArg) |
void | setPressed(const bool valueArg) |
Detailed Description
QSafeEventItemTouch is used to send the touch information to the safe renderer process. The event contains information about the item and the pressed state.
Member Function Documentation
QSafeEventItemTouch::QSafeEventItemTouch()
Constructs a QSafeEventItemTouch object.
eventType is set to EventItemTouch.
[explicit]
QSafeEventItemTouch::QSafeEventItemTouch(const SafeRenderer::QSafeEvent &baseEvent)
Constructs a QSafeEventItemTouch instance, copying data from another instance baseEvent.
SafeRenderer::quint32 QSafeEventItemTouch::itemId() const
Returns the ID of the item.
See also setItemId().
bool QSafeEventItemTouch::pressed() const
Returns true if the pressed is set, false if it is released.
See also setPressed().
void QSafeEventItemTouch::setItemId(const SafeRenderer::quint32 valueArg)
Sets the item id.
valueArg is the ID of the item used in QML.
See also itemId().
void QSafeEventItemTouch::setPressed(const bool valueArg)
Sets the pressed value.
valueArg is the pressed value. True equals to pressed and false released.
See also pressed().
Available under certain Qt licenses.
Find out more.