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

#include <qlibinputtouch_p.h>

+ Collaboration diagram for QLibInputTouch:

Public Member Functions

void registerDevice (libinput_device *dev)
 
void unregisterDevice (libinput_device *dev)
 
void processTouchDown (libinput_event_touch *e)
 
void processTouchMotion (libinput_event_touch *e)
 
void processTouchUp (libinput_event_touch *e)
 
void processTouchCancel (libinput_event_touch *e)
 
void processTouchFrame (libinput_event_touch *e)
 

Detailed Description

Definition at line 30 of file qlibinputtouch_p.h.

Member Function Documentation

◆ processTouchCancel()

void QLibInputTouch::processTouchCancel ( libinput_event_touch *  e)

Definition at line 164 of file qlibinputtouch.cpp.

References e, QWindowSystemInterface::handleTouchCancelEvent(), QGuiApplication::keyboardModifiers(), qCDebug, qWarning, and state.

+ Here is the call graph for this function:

◆ processTouchDown()

void QLibInputTouch::processTouchDown ( libinput_event_touch *  e)

Definition at line 103 of file qlibinputtouch.cpp.

References QWindowSystemInterface::TouchPoint::area, e, QWindowSystemInterface::TouchPoint::id, QRectF::moveCenter(), QEventPoint::Pressed, qCDebug, qMax(), qWarning, QWindowSystemInterface::TouchPoint::state, and state.

+ Here is the call graph for this function:

◆ processTouchFrame()

void QLibInputTouch::processTouchFrame ( libinput_event_touch *  e)

Definition at line 174 of file qlibinputtouch.cpp.

References e, QWindowSystemInterface::handleTouchEvent(), i, QGuiApplication::keyboardModifiers(), QEventPoint::Pressed, qCDebug, qWarning, QEventPoint::Released, QWindowSystemInterface::TouchPoint::state, state, and QEventPoint::Stationary.

Referenced by processTouchUp().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ processTouchMotion()

void QLibInputTouch::processTouchMotion ( libinput_event_touch *  e)

Definition at line 121 of file qlibinputtouch.cpp.

References QWindowSystemInterface::TouchPoint::area, QRectF::center(), e, QRectF::moveCenter(), QEventPoint::Pressed, qCDebug, qWarning, QEventPoint::Released, QWindowSystemInterface::TouchPoint::state, state, QEventPoint::Stationary, and QEventPoint::Updated.

+ Here is the call graph for this function:

◆ processTouchUp()

void QLibInputTouch::processTouchUp ( libinput_event_touch *  e)

Definition at line 143 of file qlibinputtouch.cpp.

References e, i, processTouchFrame(), qCDebug, qWarning, QEventPoint::Released, QWindowSystemInterface::TouchPoint::state, and state.

+ Here is the call graph for this function:

◆ registerDevice()

void QLibInputTouch::registerDevice ( libinput_device *  dev)

Definition at line 64 of file qlibinputtouch.cpp.

References QInputDevice::Area, QPointingDevice::Finger, QString::fromLocal8Bit(), QString::fromUtf8(), QOutputMapping::get(), QPointingDevicePrivate::get(), QHash< Key, T >::isEmpty(), QRect::isNull(), QInputDevice::Position, qCDebug, qPrintable, QWindowSystemInterface::registerInputDevice(), and QInputDevice::TouchScreen.

+ Here is the call graph for this function:

◆ unregisterDevice()

void QLibInputTouch::unregisterDevice ( libinput_device *  dev)

Definition at line 97 of file qlibinputtouch.cpp.

References Q_UNUSED.


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