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

#include <qlibinputpointer_p.h>

+ Collaboration diagram for QLibInputPointer:

Public Member Functions

 QLibInputPointer ()
 
void processButton (libinput_event_pointer *e)
 
void processMotion (libinput_event_pointer *e)
 
void processAbsMotion (libinput_event_pointer *e)
 
void processAxis (libinput_event_pointer *e)
 
void setPos (const QPoint &pos)
 

Detailed Description

Definition at line 25 of file qlibinputpointer_p.h.

Constructor & Destructor Documentation

◆ QLibInputPointer()

QT_BEGIN_NAMESPACE QLibInputPointer::QLibInputPointer ( )

Definition at line 16 of file qlibinputpointer.cpp.

Member Function Documentation

◆ processAbsMotion()

void QLibInputPointer::processAbsMotion ( libinput_event_pointer *  e)

Definition at line 70 of file qlibinputpointer.cpp.

References e, QWindowSystemInterface::handleMouseEvent(), QGuiApplicationPrivate::inputDeviceManager(), QInputDeviceManager::keyboardModifiers(), QEvent::MouseMove, Qt::NoButton, QGuiApplication::primaryScreen, qBound(), qRound(), QPoint::setX(), QPoint::setY(), QHighDpi::toNativePixels(), and QScreen::virtualGeometry.

+ Here is the call graph for this function:

◆ processAxis()

void QLibInputPointer::processAxis ( libinput_event_pointer *  e)

Definition at line 88 of file qlibinputpointer.cpp.

References e, QWindowSystemInterface::handleWheelEvent(), QGuiApplicationPrivate::inputDeviceManager(), QInputDeviceManager::keyboardModifiers(), qRound(), QPoint::setX(), and QPoint::setY().

+ Here is the call graph for this function:

◆ processButton()

◆ processMotion()

void QLibInputPointer::processMotion ( libinput_event_pointer *  e)

Definition at line 54 of file qlibinputpointer.cpp.

References e, QWindowSystemInterface::handleMouseEvent(), QGuiApplicationPrivate::inputDeviceManager(), QInputDeviceManager::keyboardModifiers(), QEvent::MouseMove, Qt::NoButton, QGuiApplication::primaryScreen, qBound(), qRound(), QPoint::setX(), QPoint::setY(), QHighDpi::toNativePixels(), QScreen::virtualGeometry, QPoint::x(), and QPoint::y().

+ Here is the call graph for this function:

◆ setPos()

void QLibInputPointer::setPos ( const QPoint pos)

Definition at line 126 of file qlibinputpointer.cpp.

References pos, QGuiApplication::primaryScreen, qBound(), QPoint::setX(), QPoint::setY(), QHighDpi::toNativePixels(), and QScreen::virtualGeometry.

Referenced by QLibInputHandler::QLibInputHandler().

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

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