QSkinny 0.8.0
C++/Qt UI toolkit
|
Definition at line 12 of file QskPanGestureRecognizer.h.
Public Member Functions | |
QskPanGestureRecognizer (QObject *=nullptr) | |
void | setMinDistance (int pixels) |
int | minDistance () const |
void | setOrientations (Qt::Orientations) |
Qt::Orientations | orientations () const |
Public Member Functions inherited from QskGestureRecognizer | |
QskGestureRecognizer (QObject *parent=nullptr) | |
bool | eventFilter (QObject *, QEvent *) override |
void | setWatchedItem (QQuickItem *) |
QQuickItem * | watchedItem () const |
void | setTargetItem (QQuickItem *) |
QQuickItem * | targetItem () const |
void | setAcceptedMouseButtons (Qt::MouseButtons) |
Qt::MouseButtons | acceptedMouseButtons () const |
void | setRejectOnTimeout (bool) |
bool | rejectOnTimeout () const |
void | setTimeout (int) |
int | timeout () const |
quint64 | timestampStarted () const |
void | reject () |
void | accept () |
void | abort () |
State | state () const |
virtual bool | isAcceptedPos (const QPointF &) const |
Protected Member Functions | |
void | processPress (const QPointF &, quint64 timestamp, bool isFinal) override |
void | processMove (const QPointF &, quint64 timestamp) override |
void | processRelease (const QPointF &, quint64 timestamp) override |
Protected Member Functions inherited from QskGestureRecognizer | |
void | timerEvent (QTimerEvent *) override |
Additional Inherited Members | |
Public Types inherited from QskGestureRecognizer | |
enum | State { Idle , Pending , Accepted } |
Properties inherited from QskGestureRecognizer | |
State | state |
QQuickItem * | watchedItem |
QQuickItem * | targetItem |
Qt::MouseButtons | acceptedMouseButtons |
int | timeout |
Signals inherited from QskGestureRecognizer | |
void | stateChanged (State from, State to) |
QskPanGestureRecognizer::QskPanGestureRecognizer | ( | QObject * | parent = nullptr | ) |
Definition at line 166 of file QskPanGestureRecognizer.cpp.
|
override |
Definition at line 173 of file QskPanGestureRecognizer.cpp.
int QskPanGestureRecognizer::minDistance | ( | ) | const |
Definition at line 192 of file QskPanGestureRecognizer.cpp.
Qt::Orientations QskPanGestureRecognizer::orientations | ( | ) | const |
Definition at line 182 of file QskPanGestureRecognizer.cpp.
|
overrideprotectedvirtual |
Reimplemented from QskGestureRecognizer.
Definition at line 211 of file QskPanGestureRecognizer.cpp.
|
overrideprotectedvirtual |
Reimplemented from QskGestureRecognizer.
Definition at line 197 of file QskPanGestureRecognizer.cpp.
|
overrideprotectedvirtual |
Reimplemented from QskGestureRecognizer.
Definition at line 263 of file QskPanGestureRecognizer.cpp.
void QskPanGestureRecognizer::setMinDistance | ( | int | pixels | ) |
Definition at line 187 of file QskPanGestureRecognizer.cpp.
void QskPanGestureRecognizer::setOrientations | ( | Qt::Orientations | orientations | ) |
Definition at line 177 of file QskPanGestureRecognizer.cpp.