41 #ifndef QGRAPHICSSYSTEMCURSOR_H 42 #define QGRAPHICSSYSTEMCURSOR_H 44 #include <QtCore/QList> 45 #include <QtGui/QImage> 46 #include <QtGui/QMouseEvent> 47 #include <QtCore/QWeakPointer> 48 #include <QtCore/QObject> 49 #include <QtGui/QPlatformScreen> 50 #include <QtGui/QCursor> 62 {
set(
data, mask, width, height, hotX, hotY); }
65 void set(
const uchar *
data,
const uchar *mask,
int width,
int height,
int hotX,
int hotY);
66 void set(
const QImage &image,
int hx,
int hy);
69 static void createSystemCursor(
int id);
89 virtual QPoint pos()
const;
90 virtual void setPos(
const QPoint &pos);
105 #endif // QGRAPHICSSYSTEMCURSOR_H
The QCursor class provides a mouse cursor with an arbitrary shape.
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
The QObject class is the base class of all Qt objects.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QImage class provides a hardware-independent image representation that allows direct access to th...
static const char * data(const QByteArray &arr)
The QMouseEvent class contains parameters that describe a mouse event.
The QPoint class defines a point in the plane using integer precision.
#define Q_DECLARE_PRIVATE(Class)
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
The QList class is a template class that provides lists.