#include "qcursor.h"
#include <qapplication.h>
#include <qbitmap.h>
#include <qimage.h>
#include <qdatastream.h>
#include <qvariant.h>
#include <private/qcursor_p.h>
Go to the source code of this file.
◆ operator<<()
Definition at line 255 of file qcursor.cpp.
259 bool isPixmap =
false;
QPixmap pixmap() const
Returns the cursor pixmap.
int version() const
Returns the version number of the data serialization format.
QPoint hotSpot() const
Returns the cursor hot spot, or (0, 0) if it is one of the standard cursors.
const QBitmap * bitmap() const
Returns the cursor bitmap, or 0 if it is one of the standard cursors.
bool isNull() const
Returns true if this is a null pixmap; otherwise returns false.
const QBitmap * mask() const
Returns the cursor bitmap mask, or 0 if it is one of the standard cursors.
Qt::CursorShape shape() const
Returns the cursor shape identifier.
◆ operator>>()
Definition at line 285 of file qcursor.cpp.
290 bool isPixmap =
false;
297 c =
QCursor(pm, hot.x(), hot.y());
301 s >> bm >> bmm >> hot;
302 c =
QCursor(bm, bmm, hot.x(), hot.y());
The QCursor class provides a mouse cursor with an arbitrary shape.
The QBitmap class provides monochrome (1-bit depth) pixmaps.
int version() const
Returns the version number of the data serialization format.
The QPoint class defines a point in the plane using integer precision.
The QPixmap class is an off-screen image representation that can be used as a paint device...
void setShape(Qt::CursorShape newShape)
Sets the cursor to the shape identified by shape.
◆ qt_cursorTable