|
|
A wrapper around QCursor that allows for "themed" cursors.
Currently, the only themed cursor is a hand shaped cursor.
A typical usage would be
setCursor(KCursor::handCursor());
|
Constructor.
Does not do anything so far.
QCursor |
[static]
Retrieve the proper hand cursor according to the current GUI style (static function).
QCursor |
[static]
Retrieve the proper arrow cursor according to the current GUI style (static function).
QCursor |
[static]
Retrieve the proper up arrow cursor according to the current GUI style (static function).
QCursor |
[static]
Retrieve the proper cross-hair cursor according to the current GUI style (static function).
QCursor |
[static]
Retrieve the proper hourglass cursor according to the current GUI style (static function).
QCursor |
[static]
Retrieve the proper text cursor according to the current GUI style (static function).
QCursor |
[static]
Retrieve the proper vertical resize cursor according to the current GUI style (static function).
QCursor |
[static]
Retrieve the proper horizontal resize cursor according to the current GUI style (static function).
QCursor |
[static]
Retrieve the proper diagonal resize (/) cursor according to the current GUI style (static function).
QCursor |
[static]
Retrieve the proper diagonal resize (\) cursor according to the current GUI style (static function).
QCursor |
[static]
Retrieve the proper all-directions resize cursor according to the current GUI style (static function).
QCursor |
[static]
Retrieve a blank or invisible cursor (static function).
void |
[static]
Sets auto-hiding the cursor for widget w.
Enabling it will result in
the cursor being hidden when
The cursor will be shown again when the focus is lost or a mouse-event happens.
Side effect: when enabling auto-hide, mouseTracking is enabled for the specified widget, because it's needed to get mouse-move-events. So don't disable mouseTracking for a widget while using auto-hide for it.
When disabling auto-hide, mouseTracking will be disabled, so if you need mouseTracking after disabling auto-hide, you have to reenable mouseTracking.
void |
[static]
Sets the delay time in milliseconds for auto-hiding. When no keyboard events arrive for that time-frame, the cursor will be hidden.
Default is 5000, i.e. 5 seconds.
int |
[static]
Default is 5000, i.e. 5 seconds.
Returns: the current auto-hide delay time.