![]() |
Qt 6.x
The Qt SDK
|
#include <qlibinputtouch_p.h>
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) |
Definition at line 30 of file qlibinputtouch_p.h.
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.
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.
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().
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.
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.
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.
void QLibInputTouch::unregisterDevice | ( | libinput_device * | dev | ) |
Definition at line 97 of file qlibinputtouch.cpp.
References Q_UNUSED.