Qt 4.8
|
#include <qmouselinuxtp_qws.h>
Public Functions | |
QWSLinuxTPMouseHandler (const QString &=QString(), const QString &=QString()) | |
void | resume () |
Implement this function to resume reading and handling mouse events, e. More... | |
void | suspend () |
Implement this function to suspend reading and handling of mouse events, e. More... | |
~QWSLinuxTPMouseHandler () | |
Public Functions inherited from QWSCalibratedMouseHandler | |
virtual void | calibrate (const QWSPointerCalibrationData *) |
Updates the calibration parameters based on coordinate mapping of the given data. More... | |
virtual void | clearCalibration () |
Clears the current calibration, i.e., makes the mouse driver return mouse events in raw device coordinates instead of screen coordinates. More... | |
virtual void | getCalibration (QWSPointerCalibrationData *) const |
Fills cd with the device coordinates corresponding to the given screen coordinates. More... | |
QWSCalibratedMouseHandler (const QString &driver=QString(), const QString &device=QString()) | |
Public Functions inherited from QWSMouseHandler | |
void | limitToScreen (QPoint &pt) |
Ensures that the given position is within the screen's boundaries, changing the position if necessary. More... | |
void | mouseChanged (const QPoint &pos, int bstate, int wheel=0) |
Notifies the system of a new mouse event. More... | |
const QPoint & | pos () const |
Returns the current mouse position. More... | |
QWSMouseHandler (const QString &driver=QString(), const QString &device=QString()) | |
Constructs a mouse driver. More... | |
void | setScreen (const QScreen *screen) |
Sets the screen for this mouse driver to be the given screen. More... | |
virtual | ~QWSMouseHandler () |
Destroys this mouse driver. More... | |
Protected Variables | |
QWSLinuxTPMouseHandlerPrivate * | d |
Protected Variables inherited from QWSMouseHandler | |
QWSMouseHandlerPrivate * | d_ptr |
QPoint & | mousePos |
Friends | |
class | QWSLinuxTPMouseHandlerPrivate |
Additional Inherited Members | |
Protected Functions inherited from QWSCalibratedMouseHandler | |
void | readCalibration () |
Reads previously written calibration parameters which are stored in /etc/pointercal (separated by whitespace and in alphabetical order). More... | |
bool | sendFiltered (const QPoint &, int button) |
Notifies the system of a new mouse event after applying a noise reduction filter. More... | |
void | setFilterSize (int) |
Sets the size of the filter used in noise reduction to the given size. More... | |
QPoint | transform (const QPoint &) |
Transforms the given position from device coordinates to screen coordinates, and returns the transformed position. More... | |
void | writeCalibration () |
Saves the current calibration parameters in /etc/pointercal (separated by whitespace and in alphabetical order). More... | |
Definition at line 57 of file qmouselinuxtp_qws.h.
|
explicit |
Definition at line 154 of file qmouselinuxtp_qws.cpp.
QWSLinuxTPMouseHandler::~QWSLinuxTPMouseHandler | ( | ) |
Definition at line 160 of file qmouselinuxtp_qws.cpp.
|
virtual |
Implement this function to resume reading and handling mouse events, e.
g., call the QSocketNotifier::setEnabled() function to enable the socket notifier.
Implements QWSMouseHandler.
Definition at line 170 of file qmouselinuxtp_qws.cpp.
|
virtual |
Implement this function to suspend reading and handling of mouse events, e.
g., call the QSocketNotifier::setEnabled() function to disable the socket notifier.
Implements QWSMouseHandler.
Definition at line 165 of file qmouselinuxtp_qws.cpp.
|
friend |
Definition at line 59 of file qmouselinuxtp_qws.h.
Referenced by QWSLinuxTPMouseHandler().
|
protected |
Definition at line 68 of file qmouselinuxtp_qws.h.
Referenced by QWSLinuxTPMouseHandler(), resume(), suspend(), and ~QWSLinuxTPMouseHandler().