Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 192 of file qlibinputtouch.cpp.

References 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 131 of file qlibinputtouch.cpp.

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

+ Here is the call graph for this function:

◆ processTouchFrame()

void QLibInputTouch::processTouchFrame ( libinput_event_touch * e)

Definition at line 202 of file qlibinputtouch.cpp.

References 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 149 of file qlibinputtouch.cpp.

References QWindowSystemInterface::TouchPoint::area, QRectF::center(), 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 171 of file qlibinputtouch.cpp.

References 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 91 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(), setMatrix(), and QInputDevice::TouchScreen.

+ Here is the call graph for this function:

◆ unregisterDevice()

void QLibInputTouch::unregisterDevice ( libinput_device * dev)

Definition at line 125 of file qlibinputtouch.cpp.

References Q_UNUSED.


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