#define cb_width 29
#define cb_height 29
static unsigned char cb_bits[] = {
0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,
0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,
0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0xfc,0x07,0x00,0x00,
0x44,0x04,0x00,0x00,0x44,0x04,0x00,0x00,0x44,0x04,0x00,0xff,0xff,0xff,0x1f,
0x00,0x44,0x04,0x00,0x00,0x44,0x04,0x00,0x00,0x44,0x04,0x00,0x00,0xfc,0x07,
0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,
0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,
0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00 };
#define cm_width 29
#define cm_height 29
static unsigned char cm_bits[] = {
0x00,0xe0,0x00,0x00,0x00,0xe0,0x00,0x00,0x00,0xe0,0x00,0x00,0x00,0xe0,0x00,
0x00,0x00,0xe0,0x00,0x00,0x00,0xe0,0x00,0x00,0x00,0xe0,0x00,0x00,0x00,0xe0,
0x00,0x00,0x00,0xe0,0x00,0x00,0x00,0xfe,0x0f,0x00,0x00,0xfe,0x0f,0x00,0x00,
0x46,0x0c,0x00,0x00,0x46,0x0c,0x00,0xff,0x47,0xfc,0x1f,0xff,0xff,0xff,0x1f,
0xff,0x47,0xfc,0x1f,0x00,0x46,0x0c,0x00,0x00,0x46,0x0c,0x00,0x00,0xfe,0x0f,
0x00,0x00,0xfe,0x0f,0x00,0x00,0xe0,0x00,0x00,0x00,0xe0,0x00,0x00,0x00,0xe0,
0x00,0x00,0x00,0xe0,0x00,0x00,0x00,0xe0,0x00,0x00,0x00,0xe0,0x00,0x00,0x00,
0xe0,0x00,0x00,0x00,0xe0,0x00,0x00,0x00,0xe0,0x00,0x00 };
...
//Конструктор
...
QBitmap cb( cb_width, cb_height, cb_bits, TRUE );
QBitmap cm( cm_width, cm_height, cm_bits, TRUE );
QCursor custom( cb, cm, 15,15 );
Хотелось бы сделать цвета как в QT 4 - Qt::transparent...