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
qaccessiblequickview_p.h
Go to the documentation of this file.
1
// Copyright (C) 2021 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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QAccessibleQuickView_H
6
#
define
QAccessibleQuickView_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtGui
/
qaccessibleobject
.
h
>
20
#
include
<
QtQuick
/
qquickwindow
.
h
>
21
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
#
if
QT_CONFIG
(
accessibility
)
26
27
class
Q_QUICK_EXPORT
QAccessibleQuickWindow
:
public
QAccessibleObject
28
{
29
public
:
30
QAccessibleQuickWindow
(
QQuickWindow
*
object
);
31
32
QAccessibleInterface
*
parent
()
const
override
;
33
QAccessibleInterface
*
child
(
int
index
)
const
override
;
34
QAccessibleInterface
*
focusChild
()
const
override
;
35
36
QAccessible
::
Role
role
()
const
override
;
37
QAccessible
::
State
state
()
const
override
;
38
QRect
rect
()
const
override
;
39
40
int
childCount
()
const
override
;
41
int
indexOfChild
(
const
QAccessibleInterface
*
iface
)
const
override
;
42
QString
text
(
QAccessible
::
Text
text
)
const
override
;
43
QAccessibleInterface
*
childAt
(
int
x
,
int
y
)
const
override
;
44
45
private
:
46
QQuickWindow
*
window
()
const
override
{
return
static_cast
<
QQuickWindow
*>(
object
()); }
47
QList
<
QQuickItem
*>
rootItems
()
const
;
48
};
49
50
#
endif
// accessibility
51
52
QT_END_NAMESPACE
53
54
#
endif
// QAccessibleQuickView_H
QSqlRelationalDelegate
\inmodule QtSql
qtdeclarative
src
quick
accessible
qaccessiblequickview_p.h
Generated on
for Qt by
1.14.0