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
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 QWindowSystemInterface::handleMouseEvent(), QGuiApplicationPrivate::inputDeviceManager(), 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 QWindowSystemInterface::handleWheelEvent(), QGuiApplicationPrivate::inputDeviceManager(), qRound(), QPoint::setX(), and QPoint::setY().

+ Here is the call graph for this function:

◆ processButton()

void QLibInputPointer::processButton ( libinput_event_pointer * e)

◆ processMotion()

void QLibInputPointer::processMotion ( libinput_event_pointer * e)

Definition at line 54 of file qlibinputpointer.cpp.

References QWindowSystemInterface::handleMouseEvent(), QGuiApplicationPrivate::inputDeviceManager(), 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: