Qt 4.8
|
Public Functions | |
void | hide () |
Hides the cursor from the screen. More... | |
void | move (int x, int y) |
Moves the mouse cursor to the given position, i.e., (x, y). More... | |
QAhiScreenCursor (QScreen *screen, AhiDevCtx_t context) | |
void | set (const QImage &image, int hotx, int hoty) |
Sets the cursor's image to be the given image. More... | |
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 | |
AhiDevCtx_t | context |
QScreen * | screen |
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 106 of file qscreenahi_qws.cpp.
QAhiScreenCursor::QAhiScreenCursor | ( | QScreen * | screen, |
AhiDevCtx_t | context | ||
) |
Definition at line 121 of file qscreenahi_qws.cpp.
|
virtual |
Hides the cursor from the screen.
Reimplemented from QScreenCursor.
Definition at line 189 of file qscreenahi_qws.cpp.
Referenced by QAhiScreenCursor().
|
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 170 of file qscreenahi_qws.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 133 of file qscreenahi_qws.cpp.
|
virtual |
Shows the mouse cursor.
Reimplemented from QScreenCursor.
Definition at line 180 of file qscreenahi_qws.cpp.
Referenced by QAhiScreenCursor().
|
private |
|
private |
Definition at line 117 of file qscreenahi_qws.cpp.
Referenced by set().