Qt 4.8
|
#include <qmousepc_qws.h>
Public Functions | |
QWSPcMouseHandler (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... | |
~QWSPcMouseHandler () | |
Public Functions inherited from QWSMouseHandler | |
virtual void | calibrate (const QWSPointerCalibrationData *) |
This virtual function allows subclasses of QWSMouseHandler to set the calibration information passed in the given data. More... | |
virtual void | clearCalibration () |
This virtual function allows subclasses of QWSMouseHandler to clear the calibration information. More... | |
virtual void | getCalibration (QWSPointerCalibrationData *) const |
This virtual function allows subclasses of QWSMouseHandler to fill in the device coordinates in data with values that correspond to screen coordinates that are already in data. More... | |
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 | |
QWSPcMouseHandlerPrivate * | d |
Protected Variables inherited from QWSMouseHandler | |
QWSMouseHandlerPrivate * | d_ptr |
QPoint & | mousePos |
Definition at line 57 of file qmousepc_qws.h.
|
explicit |
Definition at line 512 of file qmousepc_qws.cpp.
QWSPcMouseHandler::~QWSPcMouseHandler | ( | ) |
Definition at line 518 of file qmousepc_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 528 of file qmousepc_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 523 of file qmousepc_qws.cpp.
|
protected |
Definition at line 67 of file qmousepc_qws.h.
Referenced by QWSPcMouseHandler(), resume(), suspend(), and ~QWSPcMouseHandler().