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
qhaikucursor.h
Go to the documentation of this file.
1// Copyright (C) 2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Tobias Koenig <tobias.koenig@kdab.com>
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 QHAIKUCURSOR_H
5#define QHAIKUCURSOR_H
6
7#include <qpa/qplatformcursor.h>
8
9#include <Cursor.h>
10
12
14{
15public:
17
18#ifndef QT_NO_CURSOR
19 void changeCursor(QCursor *windowCursor, QWindow *window) override;
20#endif
21
22private:
23 QHash<Qt::CursorShape, BCursorID> m_cursorIds;
24 QHash<Qt::CursorShape, BCursor*> m_cursors;
25};
26
28
29#endif
The QCursor class provides a mouse cursor with an arbitrary shape.
Definition qcursor.h:45
void changeCursor(QCursor *windowCursor, QWindow *window) override
This method is called by Qt whenever the cursor graphic should be changed.
The QPlatformCursor class provides information about pointer device events (movement,...
\inmodule QtGui
Definition qwindow.h:63
Combined button and popup list for selecting options.
aWidget window() -> setWindowTitle("New Window Title")
[2]