![]() |
Qt 6.x
The Qt SDK
|
#include <qcursor_p.h>
Public Member Functions | |
QCursorData (Qt::CursorShape s=Qt::ArrowCursor) | |
~QCursorData () | |
void | update () |
Static Public Member Functions | |
static void | initialize () |
static void | cleanup () |
static QCursorData * | setBitmap (const QBitmap &bitmap, const QBitmap &mask, int hotX, int hotY, qreal devicePixelRatio) |
Public Attributes | |
QAtomicInt | ref |
Qt::CursorShape | cshape |
QBitmap * | bm |
QBitmap * | bmm |
QPixmap | pixmap |
short | hx |
short | hy |
Static Public Attributes | |
static bool | initialized = false |
Definition at line 28 of file qcursor_p.h.
QCursorData::QCursorData | ( | Qt::CursorShape | s = Qt::ArrowCursor | ) |
Definition at line 672 of file qcursor.cpp.
QCursorData::~QCursorData | ( | ) |
Definition at line 677 of file qcursor.cpp.
|
static |
Definition at line 684 of file qcursor.cpp.
References initialized, Qt::LastCursor, and qt_cursorTable.
Referenced by QGuiApplicationPrivate::~QGuiApplicationPrivate().
|
static |
Definition at line 699 of file qcursor.cpp.
References initialized, Qt::LastCursor, and qt_cursorTable.
Referenced by QCursor::QCursor(), QCursor::QCursor(), QCursor::QCursor(), QCursor::bitmap(), QCursor::hotSpot(), QCursor::mask(), QCursor::operator=(), QCursor::pixmap(), Q_TRACE_INSTRUMENT(), setBitmap(), QCursor::setShape(), and QCursor::shape().
|
static |
Definition at line 708 of file qcursor.cpp.
References Qt::BitmapCursor, d, initialize(), initialized, qt_cursorTable, qWarning, QBasicAtomicInteger< T >::ref(), and ref.
Referenced by QCursor::QCursor(), and QCursor::QCursor().
void QCursorData::update | ( | ) |
Definition at line 728 of file qcursor.cpp.
QBitmap* QCursorData::bm |
Definition at line 38 of file qcursor_p.h.
Referenced by ~QCursorData(), and QCursor::bitmap().
QBitmap * QCursorData::bmm |
Definition at line 38 of file qcursor_p.h.
Referenced by ~QCursorData(), and QCursor::mask().
Qt::CursorShape QCursorData::cshape |
Definition at line 37 of file qcursor_p.h.
Referenced by QCursor::shape().
short QCursorData::hx |
Definition at line 40 of file qcursor_p.h.
Referenced by QCursor::hotSpot().
short QCursorData::hy |
Definition at line 40 of file qcursor_p.h.
Referenced by QCursor::hotSpot().
|
static |
Definition at line 41 of file qcursor_p.h.
Referenced by QCursor::QCursor(), QCursor::QCursor(), QCursor::QCursor(), QCursor::bitmap(), cleanup(), QCursor::hotSpot(), initialize(), QCursor::mask(), QCursor::operator=(), QCursor::pixmap(), setBitmap(), QCursor::setShape(), and QCursor::shape().
QPixmap QCursorData::pixmap |
Definition at line 39 of file qcursor_p.h.
Referenced by QCursor::QCursor(), and QCursor::pixmap().
QAtomicInt QCursorData::ref |
Definition at line 36 of file qcursor_p.h.
Referenced by QCursor::QCursor(), QCursor::QCursor(), QCursor::~QCursor(), QCursor::operator=(), setBitmap(), and QCursor::setShape().