Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqnxcursor.cpp
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#include "qqnxcursor.h"
5
6#include <QtCore/QDebug>
7
8#if defined(QQNXCURSOR_DEBUG)
9#define qCursorDebug qDebug
10#else
11#define qCursorDebug QT_NO_QDEBUG_MACRO
12#endif
13
15
17{
18}
19
20#if !defined(QT_NO_CURSOR)
22{
23 Q_UNUSED(windowCursor);
25}
26#endif
27
29{
30 qCursorDebug() << "QQnxCursor::setPos -" << pos;
31 m_pos = pos;
32}
33
35{
36 qCursorDebug() << "QQnxCursor::pos -" << m_pos;
37 return m_pos;
38}
39
The QCursor class provides a mouse cursor with an arbitrary shape.
Definition qcursor.h:45
\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.
#define qCursorDebug
#define Q_UNUSED(x)
aWidget window() -> setWindowTitle("New Window Title")
[2]