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 QWindowsTabletSupport * create ()
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 99 of file qwindowstabletsupport.h.

Member Typedef Documentation

◆ DevicePtr

◆ Devices

Member Enumeration Documentation

◆ Mode

Enumerator
PenMode 
MouseMode 

Definition at line 109 of file qwindowstabletsupport.h.

◆ State

Enumerator
PenUp 
PenProximity 
PenDown 

Definition at line 115 of file qwindowstabletsupport.h.

Constructor & Destructor Documentation

◆ ~QWindowsTabletSupport()

QWindowsTabletSupport::~QWindowsTabletSupport ( )

Definition at line 227 of file qwindowstabletsupport.cpp.

Member Function Documentation

◆ absoluteRange()

int QWindowsTabletSupport::absoluteRange ( )
inlinestatic

Definition at line 132 of file qwindowstabletsupport.h.

◆ create()

QWindowsTabletSupport * QWindowsTabletSupport::create ( )
static

Definition at line 233 of file qwindowstabletsupport.cpp.

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

Here is the call graph for this function:

◆ description()

QString QWindowsTabletSupport::description ( ) const

Definition at line 289 of file qwindowstabletsupport.cpp.

◆ notifyActivate()

void QWindowsTabletSupport::notifyActivate ( )

Definition at line 321 of file qwindowstabletsupport.cpp.

◆ setAbsoluteRange()

void QWindowsTabletSupport::setAbsoluteRange ( int a)
inlinestatic

Definition at line 133 of file qwindowstabletsupport.h.

◆ translateTabletPacketEvent()

bool QWindowsTabletSupport::translateTabletPacketEvent ( )

Definition at line 569 of file qwindowstabletsupport.cpp.

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

Here is the call graph for this function:

◆ translateTabletProximityEvent()

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

Definition at line 469 of file qwindowstabletsupport.cpp.

References PenProximity, and PenUp.


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