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
qdirectfbcursor.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 QDIRECTFBCURSOR_H
5#define QDIRECTFBCURSOR_H
6
7#include <qpa/qplatformcursor.h>
8#include <directfb.h>
9
11
13
14class QDirectFbScreen;
16
18{
19public:
21#ifndef QT_NO_CURSOR
22 void changeCursor(QCursor *cursor, QWindow *window) override;
23#endif
24
25private:
26#ifndef QT_NO_CURSOR
27 QScopedPointer<QPlatformCursorImage> m_image;
28#endif
29 QPlatformScreen *m_screen;
30};
31
33
34#endif // QDIRECTFBCURSOR_H
The QCursor class provides a mouse cursor with an arbitrary shape.
Definition qcursor.h:45
QDirectFBCursor(QPlatformScreen *screen)
void changeCursor(QCursor *cursor, 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,...
The QPlatformScreen class provides an abstraction for visual displays.
\inmodule QtGui
Definition qwindow.h:63
QCursor cursor
Combined button and popup list for selecting options.
QScreen * screen
[1]
Definition main.cpp:29
aWidget window() -> setWindowTitle("New Window Title")
[2]