Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QEvdevTouchScreenData Class Reference
Collaboration diagram for QEvdevTouchScreenData:

Classes

struct  Contact

Public Member Functions

 QEvdevTouchScreenData (QEvdevTouchScreenHandler *q_ptr, const QStringList &args)
void processInputEvent (input_event *data)
void assignIds ()
int findClosestContact (const QHash< int, Contact > &contacts, int x, int y, int *dist)
void addTouchPoint (const Contact &contact, QEventPoint::States *combinedStates)
void reportPoints ()
void loadMultiScreenMappings ()
QRect screenGeometry () const
 QEvdevTouchScreenData (QEvdevTouchScreenHandler *q_ptr, const QStringList &args)
void processInputEvent (input_event *data)
void assignIds ()
int findClosestContact (const QHash< int, Contact > &contacts, int x, int y, int *dist)
void addTouchPoint (const Contact &contact, QEventPoint::States *combinedStates)
void reportPoints ()
void loadMultiScreenMappings ()
QRect screenGeometry () const

Public Attributes

QEvdevTouchScreenHandlerq
int m_lastEventType
QList< QWindowSystemInterface::TouchPointm_touchPoints
QList< QWindowSystemInterface::TouchPointm_lastTouchPoints
QHash< int, Contactm_contacts
QHash< int, Contactm_lastContacts
Contact m_currentData
int m_currentSlot
double m_timeStamp
double m_lastTimeStamp
int hw_range_x_min
int hw_range_x_max
int hw_range_y_min
int hw_range_y_max
int hw_pressure_min
int hw_pressure_max
QString hw_name
QString deviceNode
bool m_forceToActiveWindow
bool m_typeB
QTransform m_rotate
bool m_singleTouch
QString m_screenName
QPointer< QScreenm_screen
bool m_filtered
int m_prediction
QMutex m_mutex

Detailed Description

Definition at line 79 of file qevdevtouchhandler.cpp.

Constructor & Destructor Documentation

◆ QEvdevTouchScreenData() [1/2]

QEvdevTouchScreenData::QEvdevTouchScreenData ( QEvdevTouchScreenHandler * q_ptr,
const QStringList & args )

Definition at line 143 of file qevdevtouchhandler.cpp.

◆ QEvdevTouchScreenData() [2/2]

QEvdevTouchScreenData::QEvdevTouchScreenData ( QEvdevTouchScreenHandler * q_ptr,
const QStringList & args )

Member Function Documentation

◆ addTouchPoint() [1/2]

void QEvdevTouchScreenData::addTouchPoint ( const Contact & contact,
QEventPoint::States * combinedStates )

Definition at line 489 of file qevdevtouchhandler.cpp.

◆ addTouchPoint() [2/2]

void QEvdevTouchScreenData::addTouchPoint ( const Contact & contact,
QEventPoint::States * combinedStates )

◆ assignIds() [1/2]

void QEvdevTouchScreenData::assignIds ( )

Definition at line 701 of file qevdevtouchhandler.cpp.

◆ assignIds() [2/2]

void QEvdevTouchScreenData::assignIds ( )

◆ findClosestContact() [1/2]

int QEvdevTouchScreenData::findClosestContact ( const QHash< int, Contact > & contacts,
int x,
int y,
int * dist )

Definition at line 682 of file qevdevtouchhandler.cpp.

◆ findClosestContact() [2/2]

int QEvdevTouchScreenData::findClosestContact ( const QHash< int, Contact > & contacts,
int x,
int y,
int * dist )

◆ loadMultiScreenMappings() [1/2]

void QEvdevTouchScreenData::loadMultiScreenMappings ( )

◆ loadMultiScreenMappings() [2/2]

void QEvdevTouchScreenData::loadMultiScreenMappings ( )

◆ processInputEvent() [1/2]

void QEvdevTouchScreenData::processInputEvent ( input_event * data)

Definition at line 513 of file qevdevtouchhandler.cpp.

◆ processInputEvent() [2/2]

void QEvdevTouchScreenData::processInputEvent ( input_event * data)

◆ reportPoints() [1/2]

void QEvdevTouchScreenData::reportPoints ( )

Definition at line 769 of file qevdevtouchhandler.cpp.

◆ reportPoints() [2/2]

void QEvdevTouchScreenData::reportPoints ( )

◆ screenGeometry() [1/2]

QRect QEvdevTouchScreenData::screenGeometry ( ) const

Definition at line 735 of file qevdevtouchhandler.cpp.

◆ screenGeometry() [2/2]

QRect QEvdevTouchScreenData::screenGeometry ( ) const

Member Data Documentation

◆ deviceNode

QString QEvdevTouchScreenData::deviceNode

Definition at line 122 of file qevdevtouchhandler.cpp.

◆ hw_name

QString QEvdevTouchScreenData::hw_name

Definition at line 121 of file qevdevtouchhandler.cpp.

◆ hw_pressure_max

int QEvdevTouchScreenData::hw_pressure_max

Definition at line 120 of file qevdevtouchhandler.cpp.

◆ hw_pressure_min

int QEvdevTouchScreenData::hw_pressure_min

Definition at line 119 of file qevdevtouchhandler.cpp.

◆ hw_range_x_max

int QEvdevTouchScreenData::hw_range_x_max

Definition at line 116 of file qevdevtouchhandler.cpp.

◆ hw_range_x_min

int QEvdevTouchScreenData::hw_range_x_min

Definition at line 115 of file qevdevtouchhandler.cpp.

◆ hw_range_y_max

int QEvdevTouchScreenData::hw_range_y_max

Definition at line 118 of file qevdevtouchhandler.cpp.

◆ hw_range_y_min

int QEvdevTouchScreenData::hw_range_y_min

Definition at line 117 of file qevdevtouchhandler.cpp.

◆ m_contacts

QHash< int, Contact > QEvdevTouchScreenData::m_contacts

Definition at line 100 of file qevdevtouchhandler.cpp.

◆ m_currentData

Contact QEvdevTouchScreenData::m_currentData

Definition at line 102 of file qevdevtouchhandler.cpp.

◆ m_currentSlot

int QEvdevTouchScreenData::m_currentSlot

Definition at line 103 of file qevdevtouchhandler.cpp.

◆ m_filtered

bool QEvdevTouchScreenData::m_filtered

Definition at line 135 of file qevdevtouchhandler.cpp.

◆ m_forceToActiveWindow

bool QEvdevTouchScreenData::m_forceToActiveWindow

Definition at line 123 of file qevdevtouchhandler.cpp.

◆ m_lastContacts

QHash< int, Contact > QEvdevTouchScreenData::m_lastContacts

Definition at line 101 of file qevdevtouchhandler.cpp.

◆ m_lastEventType

int QEvdevTouchScreenData::m_lastEventType

Definition at line 88 of file qevdevtouchhandler.cpp.

◆ m_lastTimeStamp

double QEvdevTouchScreenData::m_lastTimeStamp

Definition at line 106 of file qevdevtouchhandler.cpp.

◆ m_lastTouchPoints

QList< QWindowSystemInterface::TouchPoint > QEvdevTouchScreenData::m_lastTouchPoints

Definition at line 90 of file qevdevtouchhandler.cpp.

◆ m_mutex

QMutex QEvdevTouchScreenData::m_mutex

Definition at line 140 of file qevdevtouchhandler.cpp.

◆ m_prediction

int QEvdevTouchScreenData::m_prediction

Definition at line 136 of file qevdevtouchhandler.cpp.

◆ m_rotate

QTransform QEvdevTouchScreenData::m_rotate

Definition at line 125 of file qevdevtouchhandler.cpp.

◆ m_screen

QPointer< QScreen > QEvdevTouchScreenData::m_screen
mutable

Definition at line 128 of file qevdevtouchhandler.cpp.

◆ m_screenName

QString QEvdevTouchScreenData::m_screenName

Definition at line 127 of file qevdevtouchhandler.cpp.

◆ m_singleTouch

bool QEvdevTouchScreenData::m_singleTouch

Definition at line 126 of file qevdevtouchhandler.cpp.

◆ m_timeStamp

double QEvdevTouchScreenData::m_timeStamp

Definition at line 105 of file qevdevtouchhandler.cpp.

◆ m_touchPoints

QList< QWindowSystemInterface::TouchPoint > QEvdevTouchScreenData::m_touchPoints

Definition at line 89 of file qevdevtouchhandler.cpp.

◆ m_typeB

bool QEvdevTouchScreenData::m_typeB

Definition at line 124 of file qevdevtouchhandler.cpp.

◆ q

QEvdevTouchScreenHandler * QEvdevTouchScreenData::q

Definition at line 87 of file qevdevtouchhandler.cpp.


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