karbon
VCursor Class Reference
#include <vcursor.h>
Detailed Description
A helper class for easily creating cursors from XPMs.One can create a predefined unthemed cursor or create a cursor from two given XMPs, the cursor bitmap and the cursor mask.
Definition at line 32 of file vcursor.h.
Public Types | |
enum | CursorType { CrossHair = 0, ZoomPlus = 1, ZoomMinus = 2, NeedleArrow = 3 } |
Static Public Member Functions | |
static QCursor | createCursor (CursorType type) |
static QCursor | createCursor (const char *bitmap[], const char *mask[], int hotX=-1, int hotY=-1) |
static QCursor | crossHair () |
static QCursor | needleArrow () |
static QCursor | needleMoveArrow () |
static QCursor | horzMove () |
Member Enumeration Documentation
|
Predefined cursor types.
|
Member Function Documentation
|
Creates a cursor from two specified XPM images. This is only a wrapper function for a QCursor ctor. Definition at line 95 of file vcursor.cc. |
|
Creates a predefined cursor of the specified type.
Definition at line 75 of file vcursor.cc. |
|
crosshair cursor
Definition at line 106 of file vcursor.cc. |
|
needle arraow cursor
Definition at line 119 of file vcursor.cc. |
|
needle arrow with four way arrow
Definition at line 132 of file vcursor.cc. |
The documentation for this class was generated from the following files: