Qt 4.8
|
The QWSPointerCalibrationData class is a container for mouse calibration data in Qt for Embedded Linux. More...
#include <qmouse_qws.h>
Public Types | |
enum | Location { TopLeft = 0, BottomLeft = 1, BottomRight = 2, TopRight = 3, Center = 4, LastLocation = Center } |
This enum describes the various logical positions that can be specified by the devPoints and screenPoints variables. More... | |
Public Variables | |
QPoint | devPoints [5] |
the raw device coordinates for each value of the Location enum. More... | |
QPoint | screenPoints [5] |
the logical screen coordinates for each value of the Location enum. More... | |
The QWSPointerCalibrationData class is a container for mouse calibration data in Qt for Embedded Linux.
Note that this class is only available in Qt for Embedded Linux.
QWSPointerCalibrationData stores device and screen coordinates in the devPoints and screenPoints variables, respectively.
A calibration program should create a QWSPointerCalibrationData object, fill the devPoints and screenPoints variables with its device and screen coordinates, and pass the object to the mouse driver using the QWSMouseHandler::calibrate() function.
Definition at line 57 of file qmouse_qws.h.
This enum describes the various logical positions that can be specified by the devPoints and screenPoints variables.
Enumerator | |
---|---|
TopLeft | |
BottomLeft | |
BottomRight | |
TopRight | |
Center | |
LastLocation |
Definition at line 60 of file qmouse_qws.h.
QWSPointerCalibrationData::devPoints |
the raw device coordinates for each value of the Location enum.
Definition at line 62 of file qmouse_qws.h.
Referenced by QWSCalibratedMouseHandler::calibrate(), and QWSCalibratedMouseHandler::getCalibration().
QWSPointerCalibrationData::screenPoints |
the logical screen coordinates for each value of the Location enum.
Definition at line 63 of file qmouse_qws.h.
Referenced by QWSCalibratedMouseHandler::calibrate(), and QWSCalibratedMouseHandler::getCalibration().