Home · All Classes · Main Classes · Grouped Classes · Modules · Functions

QScreenCursor Class Reference
[
QtGui module]

The QScreenCursor class manages the onscreen mouse cursor. More...

#include <QScreenCursor>

Static Public Members


Detailed Description

The QScreenCursor class manages the onscreen mouse cursor.

Note that this class is non-portable, and that it is only available in Qtopia Core.

QScreenCursor 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 the QScreen class or one of its descendants, i.e. QScreen act as a factory for the screen cursor and the QScreenCursor class should never be instantiated explicitly.

The QWSServer class provides some means of controlling the cursor's appearance with the QWSServer::isCursorVisible() and QWSServer::setCursorVisible() functions.

See also QScreen and QWSServer.


Member Function Documentation

QScreenCursor * QScreenCursor::instance ()   [static]

Returns a pointer to the application's QScreenCursor instance.

This function was introduced in Qt 4.2.


Copyright © 2006 Trolltech Trademarks
Qt 4.2.0-rc1