Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QEvdevTouchScreenHandlerThread Class Reference

#include <qevdevtouchhandler_p.h>

+ Inheritance diagram for QEvdevTouchScreenHandlerThread:
+ Collaboration diagram for QEvdevTouchScreenHandlerThread:

Signals

void touchDeviceRegistered ()
 

Public Member Functions

 QEvdevTouchScreenHandlerThread (const QString &device, const QString &spec, QObject *parent=nullptr)
 
 ~QEvdevTouchScreenHandlerThread ()
 
void run () override
 
bool isPointingDeviceRegistered () const
 
bool eventFilter (QObject *object, QEvent *event) override
 
void scheduleTouchPointUpdate ()
 

Detailed Description

Definition at line 73 of file qevdevtouchhandler_p.h.

Constructor & Destructor Documentation

◆ QEvdevTouchScreenHandlerThread()

QEvdevTouchScreenHandlerThread::QEvdevTouchScreenHandlerThread ( const QString device,
const QString spec,
QObject parent = nullptr 
)
explicit

Definition at line 810 of file qevdevtouchhandler.cpp.

◆ ~QEvdevTouchScreenHandlerThread()

QEvdevTouchScreenHandlerThread::~QEvdevTouchScreenHandlerThread ( )

Definition at line 819 of file qevdevtouchhandler.cpp.

Member Function Documentation

◆ eventFilter()

bool QEvdevTouchScreenHandlerThread::eventFilter ( QObject object,
QEvent event 
)
override

Definition at line 868 of file qevdevtouchhandler.cpp.

References QEvent::UpdateRequest.

◆ isPointingDeviceRegistered()

bool QEvdevTouchScreenHandlerThread::isPointingDeviceRegistered ( ) const

Definition at line 841 of file qevdevtouchhandler.cpp.

◆ run()

void QEvdevTouchScreenHandlerThread::run ( )
override

Definition at line 825 of file qevdevtouchhandler.cpp.

References connect(), exec(), QMetaObject::invokeMethod(), QEvdevTouchScreenHandler::isFiltered(), Qt::QueuedConnection, scheduleTouchPointUpdate(), and QEvdevTouchScreenHandler::touchPointsUpdated().

+ Here is the call graph for this function:

◆ scheduleTouchPointUpdate()

void QEvdevTouchScreenHandlerThread::scheduleTouchPointUpdate ( )

Definition at line 852 of file qevdevtouchhandler.cpp.

References QGuiApplication::focusWindow(), QObject::installEventFilter(), QObject::removeEventFilter(), and window().

Referenced by run().

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

◆ touchDeviceRegistered

void QEvdevTouchScreenHandlerThread::touchDeviceRegistered ( )
signal

Referenced by QEvdevTouchManager::addDevice().

+ Here is the caller graph for this function:

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