![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qquickhandlerpoint_p.h>
Public Member Functions | |
QQuickHandlerPoint () | |
\qmltype handlerPoint \nativetype QQuickHandlerPoint \inqmlmodule QtQuick | |
int | id () const |
Qt::MouseButtons | pressedButtons () const |
Qt::KeyboardModifiers | modifiers () const |
QPointF | pressPosition () const |
QPointF | scenePressPosition () const |
QPointF | sceneGrabPosition () const |
QPointF | position () const |
QPointF | scenePosition () const |
QVector2D | velocity () const |
qreal | rotation () const |
qreal | pressure () const |
QSizeF | ellipseDiameters () const |
QPointingDeviceUniqueId | uniqueId () const |
QPointingDevice * | device () const |
void | localize (QQuickItem *item) |
void | reset () |
void | reset (const QPointerEvent *event, const QEventPoint &point) |
void | reset (const QVector< QQuickHandlerPoint > &points) |
Properties | |
int | id |
QPointingDeviceUniqueId | uniqueId |
QPointF | position |
QPointF | scenePosition |
QPointF | pressPosition |
QPointF | scenePressPosition |
QPointF | sceneGrabPosition |
Qt::MouseButtons | pressedButtons |
Qt::KeyboardModifiers | modifiers |
QVector2D | velocity |
qreal | rotation |
qreal | pressure |
QSizeF | ellipseDiameters |
QPointingDevice * | device |
Friends | |
class | QQuickMultiPointHandler |
class | QQuickSinglePointHandler |
Definition at line 25 of file qquickhandlerpoint_p.h.
QT_BEGIN_NAMESPACE QQuickHandlerPoint::QQuickHandlerPoint | ( | ) |
\qmltype handlerPoint \nativetype QQuickHandlerPoint \inqmlmodule QtQuick
An event point.
A handler-owned QML representation of a QEventPoint.
It's possible to make bindings to properties of a handler's current \l {SinglePointHandler::point}{point} or \l {MultiPointHandler::centroid}{centroid}. For example:
The point is kept up-to-date when the DragHandler is actively responding to an \l eventPoint; but after the point is released, or when the current point is being handled by a different handler, position.x
and position.y
are 0.
Definition at line 39 of file qquickhandlerpoint.cpp.
|
inline |
Definition at line 60 of file qquickhandlerpoint_p.h.
|
inline |
Definition at line 57 of file qquickhandlerpoint_p.h.
|
inline |
Definition at line 46 of file qquickhandlerpoint_p.h.
void QQuickHandlerPoint::localize | ( | QQuickItem * | item | ) |
Definition at line 42 of file qquickhandlerpoint.cpp.
|
inline |
Definition at line 48 of file qquickhandlerpoint_p.h.
|
inline |
Definition at line 52 of file qquickhandlerpoint_p.h.
|
inline |
Definition at line 47 of file qquickhandlerpoint_p.h.
|
inline |
Definition at line 49 of file qquickhandlerpoint_p.h.
|
inline |
Definition at line 56 of file qquickhandlerpoint_p.h.
void QQuickHandlerPoint::reset | ( | ) |
Definition at line 47 of file qquickhandlerpoint.cpp.
void QQuickHandlerPoint::reset | ( | const QPointerEvent * | event, |
const QEventPoint & | point ) |
Definition at line 65 of file qquickhandlerpoint.cpp.
void QQuickHandlerPoint::reset | ( | const QVector< QQuickHandlerPoint > & | points | ) |
Definition at line 102 of file qquickhandlerpoint.cpp.
|
inline |
Definition at line 55 of file qquickhandlerpoint_p.h.
|
inline |
Definition at line 51 of file qquickhandlerpoint_p.h.
|
inline |
Definition at line 53 of file qquickhandlerpoint_p.h.
|
inline |
Definition at line 50 of file qquickhandlerpoint_p.h.
|
inline |
Definition at line 58 of file qquickhandlerpoint_p.h.
|
inline |
Definition at line 54 of file qquickhandlerpoint_p.h.
|
friend |
Definition at line 82 of file qquickhandlerpoint_p.h.
|
friend |
Definition at line 83 of file qquickhandlerpoint_p.h.
|
read |
Definition at line 40 of file qquickhandlerpoint_p.h.
|
read |
Definition at line 39 of file qquickhandlerpoint_p.h.
|
read |
Definition at line 27 of file qquickhandlerpoint_p.h.
|
read |
Definition at line 35 of file qquickhandlerpoint_p.h.
|
read |
Definition at line 29 of file qquickhandlerpoint_p.h.
|
read |
Definition at line 34 of file qquickhandlerpoint_p.h.
|
read |
Definition at line 31 of file qquickhandlerpoint_p.h.
|
read |
Definition at line 38 of file qquickhandlerpoint_p.h.
|
read |
Definition at line 37 of file qquickhandlerpoint_p.h.
|
read |
Definition at line 33 of file qquickhandlerpoint_p.h.
|
read |
Definition at line 30 of file qquickhandlerpoint_p.h.
|
read |
Definition at line 32 of file qquickhandlerpoint_p.h.
|
read |
Definition at line 28 of file qquickhandlerpoint_p.h.
|
read |
Definition at line 36 of file qquickhandlerpoint_p.h.