Qt 4.8
|
Public Functions | |
virtual void | hide () |
Hides the cursor from the screen. More... | |
virtual void | move (int x, int y) |
Moves the mouse cursor to the given position, i.e., (x, y). More... | |
QDirectFBScreenCursor () | |
virtual void | set (const QImage &image, int hotx, int hoty) |
Sets the cursor's image to be the given image. More... | |
virtual void | show () |
Shows the mouse cursor. More... | |
Public Functions inherited from QScreenCursor | |
QRect | boundingRect () const |
Returns the cursor's bounding rectangle. More... | |
QImage | image () const |
Returns the cursor's image. More... | |
bool | isAccelerated () const |
Returns true if the cursor is accelerated; otherwise false. More... | |
bool | isVisible () const |
Returns true if the cursor is visible; otherwise false. More... | |
QScreenCursor () | |
Constructs a screen cursor. More... | |
bool | supportsAlphaCursor () const |
virtual | ~QScreenCursor () |
Destroys the screen cursor. More... | |
Properties | |
IDirectFBDisplayLayer * | layer |
Additional Inherited Members | |
Static Public Functions inherited from QScreenCursor | |
static bool | enabled () |
static void | initSoftwareCursor () |
Initializes the screen cursor. More... | |
static QScreenCursor * | instance () |
Protected Variables inherited from QScreenCursor | |
QImage | cursor |
uint | enable: 1 |
QPoint | hotspot |
uint | hwaccel: 1 |
QPoint | pos |
QSize | size |
uint | supportsAlpha: 1 |
Definition at line 532 of file qdirectfbscreen.cpp.
QDirectFBScreenCursor::QDirectFBScreenCursor | ( | ) |
Definition at line 549 of file qdirectfbscreen.cpp.
|
virtual |
Hides the cursor from the screen.
Reimplemented from QScreenCursor.
Definition at line 655 of file qdirectfbscreen.cpp.
|
virtual |
Moves the mouse cursor to the given position, i.e., (x, y).
Note that the given position defines the top-left corner of the cursor's image, i.e., not the cursor's hot spot (the position of the associated mouse events).
Reimplemented from QScreenCursor.
Definition at line 639 of file qdirectfbscreen.cpp.
|
virtual |
Sets the cursor's image to be the given image.
The hotx and hoty parameters define the cursor's hot spot, i.e., the point within the cursor's image that will be the position of the associated mouse events.
Reimplemented from QScreenCursor.
Definition at line 726 of file qdirectfbscreen.cpp.
|
virtual |
Shows the mouse cursor.
Reimplemented from QScreenCursor.
Definition at line 688 of file qdirectfbscreen.cpp.
|
private |
Definition at line 546 of file qdirectfbscreen.cpp.