Qt 4.8
|
#include <qmouselinuxinput_qws.h>
Public Functions | |
QWSLinuxInputMouseHandler (const 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... | |
~QWSLinuxInputMouseHandler () | |
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... | |
Properties | |
QWSLinuxInputMousePrivate * | d |
Friends | |
class | QWSLinuxInputMousePrivate |
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... | |
Protected Variables inherited from QWSMouseHandler | |
QWSMouseHandlerPrivate * | d_ptr |
QPoint & | mousePos |
Definition at line 57 of file qmouselinuxinput_qws.h.
QWSLinuxInputMouseHandler::QWSLinuxInputMouseHandler | ( | const QString & | device | ) |
Definition at line 78 of file qmouselinuxinput_qws.cpp.
QWSLinuxInputMouseHandler::~QWSLinuxInputMouseHandler | ( | ) |
Definition at line 84 of file qmouselinuxinput_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 94 of file qmouselinuxinput_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 89 of file qmouselinuxinput_qws.cpp.
|
friend |
Definition at line 69 of file qmouselinuxinput_qws.h.
Referenced by QWSLinuxInputMouseHandler().
|
private |
Definition at line 67 of file qmouselinuxinput_qws.h.
Referenced by QWSLinuxInputMouseHandler(), resume(), suspend(), and ~QWSLinuxInputMouseHandler().