Qt 4.8
|
#include <qevent_p.h>
Public Functions | |
QNativeGestureEvent () | |
Public Functions inherited from QEvent | |
void | accept () |
Sets the accept flag of the event object, the equivalent of calling setAccepted(true). More... | |
void | ignore () |
Clears the accept flag parameter of the event object, the equivalent of calling setAccepted(false). More... | |
bool | isAccepted () const |
QEvent (Type type) | |
Contructs an event object of type type. More... | |
void | setAccepted (bool accepted) |
bool | spontaneous () const |
Returns true if the event originated outside the application (a system event); otherwise returns false. More... | |
Type | type () const |
Returns the event type. More... | |
virtual | ~QEvent () |
Destroys the event. More... | |
Public Variables | |
float | angle |
quint64 | argument |
Type | gestureType |
float | percentage |
QPoint | position |
ulong | sequenceId |
Additional Inherited Members | |
Static Public Functions inherited from QEvent | |
static int | registerEventType (int hint=-1) |
Registers and returns a custom event type. More... | |
Protected Variables inherited from QEvent | |
QEventPrivate * | d |
ushort | t |
Definition at line 128 of file qevent_p.h.
Enumerator | |
---|---|
None | |
GestureBegin | |
GestureEnd | |
Pan | |
Zoom | |
Rotate | |
Swipe |
Definition at line 131 of file qevent_p.h.
|
inline |
Definition at line 141 of file qevent_p.h.
float QNativeGestureEvent::angle |
Definition at line 152 of file qevent_p.h.
Referenced by make_win_eventUPP(), and QMacSwipeGestureRecognizer::recognize().
quint64 QNativeGestureEvent::argument |
Definition at line 155 of file qevent_p.h.
Type QNativeGestureEvent::gestureType |
Definition at line 149 of file qevent_p.h.
Referenced by make_win_eventUPP(), QWinNativePanGestureRecognizer::recognize(), QMacSwipeGestureRecognizer::recognize(), QMacPinchGestureRecognizer::recognize(), and QETWidget::translateGestureEvent().
float QNativeGestureEvent::percentage |
Definition at line 150 of file qevent_p.h.
Referenced by make_win_eventUPP(), and QMacPinchGestureRecognizer::recognize().
QPoint QNativeGestureEvent::position |
Definition at line 151 of file qevent_p.h.
Referenced by make_win_eventUPP(), QWinNativePanGestureRecognizer::recognize(), QMacSwipeGestureRecognizer::recognize(), and QMacPinchGestureRecognizer::recognize().
ulong QNativeGestureEvent::sequenceId |
Definition at line 154 of file qevent_p.h.