4#ifndef QWINDOWSTABLETSUPPORT_H
5#define QWINDOWSTABLETSUPPORT_H
8#include <QtGui/qtguiglobal.h>
9#include <QtGui/qpointingdevice.h>
11#include <QtCore/qhash.h>
12#include <QtCore/qlist.h>
13#include <QtCore/qpoint.h>
14#include <QtCore/qsharedpointer.h>
30 typedef HCTX (API *
PtrWTOpen)(HWND, LPLOGCONTEXT, BOOL);
36 typedef BOOL (API *
PtrWTGet)(HCTX, LPLOGCONTEXT);
83 PointerType pType, Capabilities caps,
int maxPoints,
94#ifndef QT_NO_DEBUG_STREAM
135 unsigned options()
const;
152 const HCTX m_context;
153 static int m_absoluteRange;
154 bool m_tiltSupport =
false;
159 ulong m_eventTime = 0;
QObject * parent() const
Returns a pointer to the parent object.
\inmodule QtCore\reentrant
QPointingDeviceUniqueId identifies a unique object, such as a tagged token or stylus,...
The QPointingDevice class describes a device from which mouse, touch or tablet events originate.
PointerType
This enum represents what is interacting with the pointing device.
QPointingDeviceUniqueId uniqueId
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
QSharedPointer< QWindowsTabletDeviceData > DeviceDataPtr
const DeviceDataPtr & deviceData() const
Tablet support for Windows.
QString description() const
bool translateTabletPacketEvent()
QList< DevicePtr > Devices
static void setAbsoluteRange(int a)
static int absoluteRange()
bool translateTabletProximityEvent(WPARAM wParam, LPARAM lParam)
QSharedPointer< QWinTabPointingDevice > DevicePtr
static QWindowsTabletSupport * create()
Combined button and popup list for selecting options.
GLfloat GLfloat GLfloat GLfloat GLfloat maxY
GLboolean GLboolean GLboolean GLboolean a
[7]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat maxZ
GLfloat GLfloat GLfloat GLfloat maxX
#define QT_REQUIRE_CONFIG(feature)
static QPointingDevice::PointerType pointerType(unsigned currentCursor)
static QInputDevice::DeviceType deviceType(const UINT cursorType)
QDebug operator<<(QDebug d, const QWindowsTabletDeviceData &t)
QPointF scaleCoordinates(int coordX, int coordY, const QRect &targetArea) const
qreal scalePressure(qreal p) const
qreal scaleTangentialPressure(qreal p) const
QHash< quint8, quint8 > buttonsMap
Functions from wintabl32.dll shipped with WACOM tablets used by QWindowsTabletSupport.
PtrWTQueueSizeSet wTQueueSizeSet
int(API * PtrWTQueueSizeGet)(HCTX)
BOOL(API * PtrWTGet)(HCTX, LPLOGCONTEXT)
UINT(API * PtrWTInfo)(UINT, UINT, LPVOID)
BOOL(API * PtrWTEnable)(HCTX, BOOL)
BOOL(API * PtrWTOverlap)(HCTX, BOOL)
BOOL(API * PtrWTClose)(HCTX)
BOOL(API * PtrWTQueueSizeSet)(HCTX, int)
PtrWTPacketsGet wTPacketsGet
int(API * PtrWTPacketsGet)(HCTX, int, LPVOID)
PtrWTQueueSizeGet wTQueueSizeGet
HCTX(API * PtrWTOpen)(HWND, LPLOGCONTEXT, BOOL)