Home · All Classes · Main Classes · Grouped Classes · Modules · Functions

QWSTslibMouseHandler Class Reference
[QtGui module]

The QWSTslibMouseHandler class implements a mouse driver for the Universal Touch Screen Library, tslib. More...

#include <QWSTslibMouseHandler>

Inherits QWSCalibratedMouseHandler.

Additional Inherited Members


Detailed Description

The QWSTslibMouseHandler class implements a mouse driver for the Universal Touch Screen Library, tslib.

QWSTslibMouseHandler inherits the QWSCalibratedMouseHandler class, providing calibration and noise reduction functionality in addition to generating mouse events, for devices using the Universal Touch Screen Library.

To be able to compile this mouse handler, Qtopia Core must be configured with the -qt-mouse-tslib option, see the Pointer Handling documentation for details. In addition, the tslib headers and library must be present in the build environment. The tslib sources can be downloaded from http://cvs.arm.linux.org.uk. Use the -L and -I options with configure to explicitly specify the location of the library and its headers:

    configure  -L <path to tslib library> -I <path to tslib headers>

In order to use this mouse handler, tslib must also be correctly installed on the target machine. This includes providing a ts.conf configuration file and setting the neccessary environment variables, see the README file provided with tslib for details.

To make Qtopia Core explicitly choose the tslib mouse handler, set the QWS_MOUSE_PROTO environment variable.

See also Pointer Handling and Qtopia Core.


Copyright © 2006 Trolltech Trademarks
Qt 4.1.3