Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QWindowsTabletSupport Class Reference

Tablet support for Windows. More...

#include <qwindowstabletsupport.h>

Collaboration diagram for QWindowsTabletSupport:

Public Types

enum  Mode { PenMode , MouseMode }
enum  State { PenUp , PenProximity , PenDown }
using DevicePtr = QSharedPointer<QWinTabPointingDevice>
using Devices = QList<DevicePtr>

Public Member Functions

 ~QWindowsTabletSupport ()
void notifyActivate ()
QString description () const
bool translateTabletProximityEvent (WPARAM wParam, LPARAM lParam)
bool translateTabletPacketEvent ()

Static Public Member Functions

static QWindowsTabletSupportcreate ()
static int absoluteRange ()
static void setAbsoluteRange (int a)

Detailed Description

Tablet support for Windows.

Support for WACOM tablets.

See also
http://www.wacomeng.com/windows/docs/Wintab_v140.htm
Since
5.2

Definition at line 98 of file qwindowstabletsupport.h.

Member Typedef Documentation

◆ DevicePtr

◆ Devices

Member Enumeration Documentation

◆ Mode

Enumerator
PenMode 
MouseMode 

Definition at line 108 of file qwindowstabletsupport.h.

◆ State

Enumerator
PenUp 
PenProximity 
PenDown 

Definition at line 114 of file qwindowstabletsupport.h.

Constructor & Destructor Documentation

◆ ~QWindowsTabletSupport()

QWindowsTabletSupport::~QWindowsTabletSupport ( )

Definition at line 226 of file qwindowstabletsupport.cpp.

Member Function Documentation

◆ absoluteRange()

int QWindowsTabletSupport::absoluteRange ( )
inlinestatic

Definition at line 131 of file qwindowstabletsupport.h.

◆ create()

QWindowsTabletSupport * QWindowsTabletSupport::create ( )
static

Definition at line 232 of file qwindowstabletsupport.cpp.

References QWindowsWinTab32DLL::init(), PacketMode, and TabletPacketQSize.

Here is the call graph for this function:

◆ description()

QString QWindowsTabletSupport::description ( ) const

Definition at line 288 of file qwindowstabletsupport.cpp.

◆ notifyActivate()

void QWindowsTabletSupport::notifyActivate ( )

Definition at line 320 of file qwindowstabletsupport.cpp.

◆ setAbsoluteRange()

void QWindowsTabletSupport::setAbsoluteRange ( int a)
inlinestatic

Definition at line 132 of file qwindowstabletsupport.h.

◆ translateTabletPacketEvent()

bool QWindowsTabletSupport::translateTabletPacketEvent ( )

Definition at line 568 of file qwindowstabletsupport.cpp.

References QWindowsContext::instance(), QWindowsContext::keyMapper(), MouseMode, PenDown, PenMode, PenProximity, TabletPacketQSize, QWindowsContext::verbose, and QWindowsTabletDeviceData::zCapability.

Here is the call graph for this function:

◆ translateTabletProximityEvent()

bool QWindowsTabletSupport::translateTabletProximityEvent ( WPARAM wParam,
LPARAM lParam )

Definition at line 468 of file qwindowstabletsupport.cpp.

References PenProximity, and PenUp.


The documentation for this class was generated from the following files: