Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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 <screen/screen.h>
8
9#include <qpa/qplatformcursor.h>
10#include <QtCore/QLoggingCategory>
11
13
14// Q_DECLARE_LOGGING_CATEGORY(lcQpaQnx);
15
17{
18public:
19 QQnxCursor(screen_context_t context);
20
21#if !defined(QT_NO_CURSOR)
22 void changeCursor(QCursor *windowCursor, QWindow *window) override;
23#endif
24 void setPos(const QPoint &pos) override;
25
26 QPoint pos() const override;
27
28private:
29 QPoint m_pos;
30 screen_context_t m_screenContext;
31 screen_session_t m_session = 0;
32 int m_currentCShape = 0;
33};
34
35QT_END_NAMESPACE
36
37#endif // QQNXCURSOR_H
void setPos(const QPoint &pos) override
QPoint pos() const override
QQnxCursor(screen_context_t context)
void changeCursor(QCursor *windowCursor, QWindow *window) override
This method is called by Qt whenever the cursor graphic should be changed.
Combined button and popup list for selecting options.
Q_LOGGING_CATEGORY(lcEventDispatcher, "qt.eventdispatcher")
static int mapQtCursorToScreenCursor(int cshape)
#define Q_SCREEN_CHECKERROR(x, message)
Definition qqnxglobal.h:13