Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqnxcursor.h
Go to the documentation of this file.
1// Copyright (C) 2011 - 2012 Research In Motion
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 QQNXCURSOR_H
5#define QQNXCURSOR_H
6
7#include <qpa/qplatformcursor.h>
8
10
12{
13public:
14 QQnxCursor();
15
16#if !defined(QT_NO_CURSOR)
17 void changeCursor(QCursor *windowCursor, QWindow *window) override;
18#endif
19 void setPos(const QPoint &pos) override;
20
21 QPoint pos() const override;
22
23private:
24 QPoint m_pos;
25};
26
28
29#endif // QQNXCURSOR_H
The QCursor class provides a mouse cursor with an arbitrary shape.
Definition qcursor.h:45
The QPlatformCursor class provides information about pointer device events (movement,...
\inmodule QtCore\reentrant
Definition qpoint.h:23
void setPos(const QPoint &pos) override
QPoint pos() const override
void changeCursor(QCursor *windowCursor, QWindow *window) override
This method is called by Qt whenever the cursor graphic should be changed.
\inmodule QtGui
Definition qwindow.h:63
Combined button and popup list for selecting options.
aWidget window() -> setWindowTitle("New Window Title")
[2]