45 #include <QtCore/qobject.h> 46 #include <QtGui/qpolygon.h> 60 enum Location { TopLeft = 0, BottomLeft = 1, BottomRight = 2, TopRight = 3,
77 virtual void resume() = 0;
78 virtual void suspend() = 0;
80 void limitToScreen(
QPoint &pt);
81 void mouseChanged(
const QPoint& pos,
int bstate,
int wheel = 0);
84 void setScreen(
const QScreen *screen);
103 bool sendFiltered(
const QPoint &,
int button);
106 void readCalibration();
107 void writeCalibration();
108 void setFilterSize(
int);
123 #endif // QMOUSE_QWS_H
#define QT_END_NAMESPACE
This macro expands to.
The QWSCalibratedMouseHandler class provides mouse calibration and noise reduction in Qt for Embedded...
The QWSMouseHandler class is a base class for mouse drivers in Qt for Embedded Linux.
long ASN1_INTEGER_get ASN1_INTEGER * a
The QPolygon class provides a vector of points using integer precision.
The QString class provides a Unicode character string.
const QPoint & pos() const
Returns the current mouse position.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QWSPointerCalibrationData class is a container for mouse calibration data in Qt for Embedded Linu...
Location
This enum describes the various logical positions that can be specified by the devPoints and screenPo...
virtual void calibrate(const QWSPointerCalibrationData *)
This virtual function allows subclasses of QWSMouseHandler to set the calibration information passed ...
QWSMouseHandlerPrivate * d_ptr
The QPoint class defines a point in the plane using integer precision.
virtual void clearCalibration()
This virtual function allows subclasses of QWSMouseHandler to clear the calibration information...
The QScreen class is a base class for screen drivers in Qt for Embedded Linux.
virtual void getCalibration(QWSPointerCalibrationData *) const
This virtual function allows subclasses of QWSMouseHandler to fill in the device coordinates in data ...