#include <qevent.h>

Public Types |
|
| enum | TabletDevice
{ NoDevice, Puck, Stylus, Airbrush, FourDMouse, XFreeEraser, RotationStylus } |
| enum | PointerType { UnknownPointer, Pen, Cursor, Eraser } |
Public Member Functions |
|
| QTabletEvent (Type t, const QPoint &pos, const QPoint &globalPos, const QPointF &hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID) | |
| ~QTabletEvent () | |
| const QPoint & | pos () const |
| const QPoint & | globalPos () const |
| const QPointF & | hiResGlobalPos () const |
| int | x () const |
| int | y () const |
| int | globalX () const |
| int | globalY () const |
| qreal | hiResGlobalX () const |
| qreal | hiResGlobalY () const |
| TabletDevice | device () const |
| PointerType | pointerType () const |
| qint64 | uniqueId () const |
| qreal | pressure () const |
| int | z () const |
| qreal | tangentialPressure () const |
| qreal | rotation () const |
| int | xTilt () const |
| int | yTilt () const |
Protected Attributes |
|
| QPoint | mPos |
| QPoint | mGPos |
| QPointF | mHiResGlobalPos |
| int | mDev |
| int | mPointerType |
| int | mXT |
| int | mYT |
| int | mZ |
| qreal | mPress |
| qreal | mTangential |
| qreal | mRot |
| qint64 | mUnique |
| void * | mExtra |
| enum TabletDevice |
Definition at line 177 of file qevent.h.
{ NoDevice, Puck, Stylus, Airbrush, FourDMouse,
XFreeEraser /*internal*/, RotationStylus };
| enum PointerType |
| ~QTabletEvent | ( | ) |
| const QPoint& pos | ( | ) | const [inline] |
| const QPoint& globalPos | ( | ) | const [inline] |
| const QPointF& hiResGlobalPos | ( | ) | const [inline] |
| int x | ( | ) | const [inline] |
| int y | ( | ) | const [inline] |
| int globalX | ( | ) | const [inline] |
| int globalY | ( | ) | const [inline] |
| qreal hiResGlobalX | ( | ) | const [inline] |
| qreal hiResGlobalY | ( | ) | const [inline] |
| TabletDevice device | ( | ) | const [inline] |
| PointerType pointerType | ( | ) | const [inline] |
Definition at line 196 of file qevent.h.
{ return PointerType(mPointerType); }
| qint64 uniqueId | ( | ) | const [inline] |
| qreal pressure | ( | ) | const [inline] |
| int z | ( | ) | const [inline] |
| qreal tangentialPressure | ( | ) | const [inline] |
| qreal rotation | ( | ) | const [inline] |
| int xTilt | ( | ) | const [inline] |
| int yTilt | ( | ) | const [inline] |
QPointF mHiResGlobalPos
[protected] |
int mDev
[protected] |
int mPointerType
[protected] |
int mXT
[protected] |
int mYT
[protected] |
int mZ
[protected] |
qreal mPress
[protected] |
qreal mTangential
[protected] |
qreal mRot
[protected] |
void* mExtra
[protected] |