Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QCocoaTouch Class Reference

#include <qmultitouch_mac_p.h>

+ Collaboration diagram for QCocoaTouch:

Static Public Member Functions

static QList< QWindowSystemInterface::TouchPointgetCurrentTouchPointList (NSEvent *event, bool acceptSingleTouch)
 
static void setMouseInDraggingState (bool inDraggingState)
 
static QPointingDevicegetTouchDevice (QInputDevice::DeviceType type, quint64 id)
 

Detailed Description

Definition at line 31 of file qmultitouch_mac_p.h.

Member Function Documentation

◆ getCurrentTouchPointList()

QList< QWindowSystemInterface::TouchPoint > QCocoaTouch::getCurrentTouchPointList ( NSEvent *  event,
bool  acceptSingleTouch 
)
static

Definition at line 103 of file qmultitouch_mac.mm.

References QHash< Key, T >::cbegin(), QMap< Key, T >::clear(), QHash< Key, T >::clear(), i, QWindowSystemInterface::TouchPoint::id, QMap< Key, T >::insert(), QHash< Key, T >::isEmpty(), QEventPoint::Released, QHash< Key, T >::size(), QWindowSystemInterface::TouchPoint::state, and QMap< Key, T >::values().

+ Here is the call graph for this function:

◆ getTouchDevice()

QPointingDevice * QCocoaTouch::getTouchDevice ( QInputDevice::DeviceType  type,
quint64  id 
)
static

Definition at line 186 of file qmultitouch_mac.mm.

References QPointingDevice::Finger, QHash< Key, T >::insert(), QInputDevice::MouseEmulation, QInputDevice::NormalizedPosition, QInputDevice::Position, QWindowSystemInterface::registerInputDevice(), ret, QInputDevice::TouchScreen, and QHash< Key, T >::value().

+ Here is the call graph for this function:

◆ setMouseInDraggingState()

static void QCocoaTouch::setMouseInDraggingState ( bool  inDraggingState)
static

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