QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Variables
qgscursors.cpp File Reference
#include "qgscursors.h"
Include dependency graph for qgscursors.cpp:

Go to the source code of this file.

Variables

const char * zoom_in []
 Bitmap cursors for map operations. More...
 
const char * zoom_out []
 
const unsigned char pan_bits []
 
const unsigned char pan_mask_bits []
 
const char * capture_point_cursor []
 
const char * select_cursor []
 
const char * identify_cursor []
 
const char * cross_hair_cursor []
 
const char * sampler_cursor []
 

Variable Documentation

const char* capture_point_cursor[]
Initial value:
=
{
"16 16 3 1",
" » c None",
".» c #000000",
"+» c #FFFFFF",
" ",
" +.+ ",
" ++.++ ",
" +.....+ ",
" +. .+ ",
" +. . .+ ",
" +. . .+ ",
" ++. . .++",
" ... ...+... ...",
" ++. . .++",
" +. . .+ ",
" +. . .+ ",
" ++. .+ ",
" ++.....+ ",
" ++.++ ",
" +.+ "
}

Definition at line 87 of file qgscursors.cpp.

const char* cross_hair_cursor[]
Initial value:
=
{
"16 16 3 1",
" » c None",
".» c #000000",
"+» c #FFFFFF",
" ",
" +.+ ",
" +.+ ",
" +.+ ",
" +.+ ",
" +.+ ",
" . ",
" +++++ +++++",
" ...... ......",
" +++++ +++++",
" . ",
" +.+ ",
" +.+ ",
" +.+ ",
" +.+ ",
" +.+ "
}

Definition at line 159 of file qgscursors.cpp.

Referenced by QgsComposerView::defaultCursorForTool().

const char* identify_cursor[]
Initial value:
=
{
"16 16 3 1",
"# c None",
"a c #000000",
". c #ffffff",
".###########..##",
"...########.aa.#",
".aa..######.aa.#",
"#.aaa..#####..##",
"#.aaaaa..##.aa.#",
"##.aaaaaa...aa.#",
"##.aaaaaa...aa.#",
"##.aaaaa.##.aa.#",
"###.aaaaa.#.aa.#",
"###.aa.aaa..aa.#",
"####..#..aa.aa.#",
"####.####.aa.a.#",
"##########.aa..#",
"###########.aa..",
"############.a.#",
"#############.##"
}

Definition at line 135 of file qgscursors.cpp.

Referenced by QgsMapToolIdentify::QgsMapToolIdentify().

const unsigned char pan_bits[]
Initial value:
=
{
0xf0, 0x00, 0xf8, 0x01, 0x28, 0x07, 0x28, 0x05, 0x28, 0x1d, 0x28, 0x15,
0x2f, 0x15, 0x0d, 0x14, 0x09, 0x10, 0x03, 0x18, 0x06, 0x08, 0x04, 0x08,
0x0c, 0x0c, 0x18, 0x04, 0x30, 0x04, 0xe0, 0x07
}

Definition at line 72 of file qgscursors.cpp.

Referenced by QgsMapToolPan::QgsMapToolPan().

const unsigned char pan_mask_bits[]
Initial value:
=
{
0xf0, 0x00, 0xf8, 0x01, 0xf8, 0x07, 0xf8, 0x07, 0xf8, 0x1f, 0xf8, 0x1f,
0xff, 0x1f, 0xff, 0x1f, 0xff, 0x1f, 0xff, 0x1f, 0xfe, 0x0f, 0xfc, 0x0f,
0xfc, 0x0f, 0xf8, 0x07, 0xf0, 0x07, 0xe0, 0x07
}

Definition at line 79 of file qgscursors.cpp.

Referenced by QgsMapToolPan::QgsMapToolPan().

const char* sampler_cursor[]
Initial value:
=
{
"16 16 3 1",
" » c None",
".» c #000000",
"+» c #FFFFFF",
".. ",
".+. ",
" .+.. ",
" .++. ",
" .+++. ",
" .+++. ",
" .+++. ",
" .+++... ",
" .++... ",
" ...... ",
" ....... ",
" ........ ",
" .......",
" ......",
" .....",
" ... "
}

Definition at line 183 of file qgscursors.cpp.

Referenced by QgsColorButton::showContextMenu().

const char* select_cursor[]
Initial value:
=
{
"16 16 3 1",
"# c None",
"a c #000000",
". c #ffffff",
".###############",
"...#############",
".aa..###########",
"#.aaa..a.a.a.a.#",
"#.aaaaa..#####a#",
"#a.aaaaaa..###.#",
"#..aaaaaa...##a#",
"#a.aaaaa.#####.#",
"#.#.aaaaa.####a#",
"#a#.aa.aaa.###.#",
"#.##..#..aa.##a#",
"#a##.####.aa.#.#",
"#.########.aa.a#",
"#a#########.aa..",
"#.a.a.a.a.a..a.#",
"#############.##"
}

Definition at line 111 of file qgscursors.cpp.

const char* zoom_out[]
Initial value:
=
{
"16 16 4 1",
"b c None",
". c None",
"a c #000000",
"# c #ffffff",
".....#####......",
"...##aaaaa##....",
"..#.a.....a.#...",
".#.a.......a.#..",
".#a.........a#..",
"#a...........a#.",
"#a...........a#.",
"#a.aaaa#aaaa.a#.",
"#a...........a#.",
"#a...........a#.",
".#a.........a#..",
".#.a.......aaa#.",
"..#.a.....a#aaa#",
"...##aaaaa###aa#",
".....#####...###",
"..............#."
}

Definition at line 45 of file qgscursors.cpp.

Referenced by QgsComposerView::keyPressEvent(), QgsComposerView::keyReleaseEvent(), and QgsMapToolZoom::QgsMapToolZoom().