Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qcursor_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QCURSOR_P_H
5#define QCURSOR_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists for the convenience
12// of a number of Qt sources files. This header file may change from
13// version to version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtGui/private/qtguiglobal_p.h>
19#include "QtCore/qatomic.h"
20#include "QtCore/qnamespace.h"
21#include "QtGui/qpixmap.h"
22
23
25
26
27class QBitmap;
29public:
32
33 static void initialize();
34 static void cleanup();
35
40 short hx, hy;
41 static bool initialized;
42 void update();
43 static QCursorData *setBitmap(const QBitmap &bitmap, const QBitmap &mask, int hotX, int hotY,
44 qreal devicePixelRatio);
45};
46
47extern QCursorData *qt_cursorTable[Qt::LastCursor + 1]; // qcursor.cpp
48
50
51#endif // QCURSOR_P_H
\inmodule QtCore
Definition qatomic.h:112
\inmodule QtGui
Definition qbitmap.h:16
QBitmap * bm
Definition qcursor_p.h:38
static bool initialized
Definition qcursor_p.h:41
QBitmap * bmm
Definition qcursor_p.h:38
QPixmap pixmap
Definition qcursor_p.h:39
QCursorData(Qt::CursorShape s=Qt::ArrowCursor)
Definition qcursor.cpp:663
Qt::CursorShape cshape
Definition qcursor_p.h:37
static QCursorData * setBitmap(const QBitmap &bitmap, const QBitmap &mask, int hotX, int hotY, qreal devicePixelRatio)
Definition qcursor.cpp:699
void update()
Definition qcursor.cpp:718
static void initialize()
Definition qcursor.cpp:690
static void cleanup()
Definition qcursor.cpp:675
QAtomicInt ref
Definition qcursor_p.h:36
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
Definition qpixmap.h:27
Combined button and popup list for selecting options.
CursorShape
@ LastCursor
@ ArrowCursor
QCursorData * qt_cursorTable[Qt::LastCursor+1]
Definition qcursor.cpp:660
GLint GLint GLint GLint GLint GLint GLint GLbitfield mask
GLdouble s
[6]
Definition qopenglext.h:235
GLsizei GLfixed GLfixed GLfixed GLfixed const GLubyte * bitmap
double qreal
Definition qtypes.h:187