![]() ![]() |
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. More...
#include <qgfx_qws.h>
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.
Constructs a screen cursor.
[virtual]
Destructs a screen cursor, deleting its gfxes, cursor image and under-cursor storage.
[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.
[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.
Search the documentation, FAQ, qt-interest archive and more (uses
www.trolltech.com):
This file is part of the Qt toolkit, copyright © 1995-2000 Trolltech, all rights reserved.
Copyright İ 2000 Trolltech | Trademarks | Qt version 2.3.1
|