karbon
vcursor.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __VCURSOR_H__
00021 #define __VCURSOR_H__
00022
00023 #include <qcursor.h>
00024 #include <koffice_export.h>
00025
00032 class KARBONBASE_EXPORT VCursor
00033 {
00034 public:
00036 enum CursorType
00037 {
00038 CrossHair = 0,
00039 ZoomPlus = 1,
00040 ZoomMinus = 2,
00041 NeedleArrow = 3
00042 };
00043
00050 static QCursor createCursor( CursorType type );
00051
00056 static QCursor createCursor( const char * bitmap[], const char * mask[], int hotX = -1, int hotY = -1 );
00057
00059 static QCursor crossHair();
00060
00062 static QCursor needleArrow();
00063
00065 static QCursor needleMoveArrow();
00066
00067 static QCursor horzMove();
00068
00069 private:
00070
00071 VCursor() {};
00072 };
00073
00074 #endif
|