Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QQNXCURSOR_H
6
#
define
QQNXCURSOR_H
7
8
#
include
<
screen
/
screen
.
h
>
9
10
#
include
<
qpa
/
qplatformcursor
.
h
>
11
12
QT_BEGIN_NAMESPACE
13
14
class
QQnxCursor
:
public
QPlatformCursor
15
{
16
public
:
17
QQnxCursor
(screen_context_t context);
18
~
QQnxCursor
();
19
20
#
if
!
defined
(
QT_NO_CURSOR
)
21
void
changeCursor
(QCursor *windowCursor, QWindow *window)
override
;
22
#
endif
23
void
setPos
(
const
QPoint &pos)
override
;
24
25
QPoint
pos
()
const
override
;
26
27
private
:
28
QPoint m_pos;
29
screen_context_t m_screenContext;
30
screen_session_t m_session = 0;
31
int
m_currentCShape = 0;
32
bool
m_customCursorEnabled =
false
;
33
};
34
35
QT_END_NAMESPACE
36
37
#
endif
// QQNXCURSOR_H
QQnxCursor
Definition
qqnxcursor.h:15
QQnxCursor::setPos
void setPos(const QPoint &pos) override
Definition
qqnxcursor.cpp:98
QQnxCursor::QQnxCursor
QQnxCursor(screen_context_t context)
Definition
qqnxcursor.cpp:13
QQnxCursor::~QQnxCursor
~QQnxCursor()
Definition
qqnxcursor.cpp:19
QQnxCursor::pos
QPoint pos() const override
Definition
qqnxcursor.cpp:104
QQnxCursor::changeCursor
void changeCursor(QCursor *windowCursor, QWindow *window) override
This method is called by Qt whenever the cursor graphic should be changed.
Definition
qqnxcursor.cpp:62
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
mapQtCursorToScreenCursor
static int mapQtCursorToScreenCursor(int cshape)
Definition
qqnxcursor.cpp:26
Q_SCREEN_CHECKERROR
#define Q_SCREEN_CHECKERROR(x, message)
Definition
qqnxglobal.h:17
qtbase
src
plugins
platforms
qnx
qqnxcursor.h
Generated on
for Qt by
1.18.0