qscreencursor3qt
Manages the onscreen mouse cursor in qt/embedded. it provides an implementation of a software mouse cursor and can be subclassed by hardware drivers which support a hardware mouse cursor. there may only be one qscreencursor at a time; it is constructed by #include <qgfx_qws.h>
Overview
The QScreenCursor class manages the onscreen mouse cursor in Qt/Embedded. It provides an implementation of a software mouse cursor and can be subclassed by hardware drivers which support a hardware mouse cursor. There may only be one QScreenCursor at a time; it is constructed by QScreen or one of its descendants.
This class is non-portable. It is available only in Qt/Embedded. It is also internal - this documentation is intended for those subclassing it in hardware drivers, not for application developers.
Member function documentation
QScreenCursor::QScreenCursor ()
Constructs a screen cursor.
QScreenCursor::~QScreenCursor () [virtual]
Destructs a screen cursor, deleting its gfxes, cursor image and under-cursor storage.
void QScreenCursor::move ( int x, int y ) [virtual]
Move the mouse cursor to point x,y on the screen. This should be done in such a way that the hotspot of the cursor is at x,y - e.g. if the hotspot is at 5,5 within the image then the top left of the image should be at x-5,y-5.
bool QScreenCursor::restoreUnder ( const QRect & r, QGfxRasterBase * g = 0 ) [virtual]
This is relevant to only the software mouse cursor and should be reimplemented as a null method in hardware cursor drivers. It redraws what was under the mouse cursor when the cursor is moved.