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
qquickforeignutils_p.h
Go to the documentation of this file.
1
// Copyright (C) 2019 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
QTQUICKFOREIGN_P_H
6
#
define
QTQUICKFOREIGN_P_H
7
8
#
include
<
QtQuick
/
private
/
qtquickglobal_p
.
h
>
9
10
#
include
<
QtGui
/
qaccessibilityhints
.
h
>
11
#
include
<
QtGui
/
qstylehints
.
h
>
12
#
include
<
QtGui
/
qeventpoint
.
h
>
13
#
if
QT_CONFIG
(
im
)
14
#
include
<
QtGui
/
qinputmethod
.
h
>
15
#
endif
16
#
if
QT_CONFIG
(
validator
)
17
#
include
<
QtGui
/
qvalidator
.
h
>
18
#
endif
19
#
if
QT_CONFIG
(
shortcut
)
20
#
include
<
QtGui
/
qkeysequence
.
h
>
21
#
endif
22
23
#
include
<
QtGui
/
qfontvariableaxis
.
h
>
24
25
#
include
<
QtGui
/
QScreen
>
26
27
#
include
<
QtQml
/
qqml
.
h
>
28
29
//
30
// W A R N I N G
31
// -------------
32
//
33
// This file is not part of the Qt API. It exists purely as an
34
// implementation detail. This header file may change from version to
35
// version without notice, or even be removed.
36
//
37
// We mean it.
38
//
39
40
QT_BEGIN_NAMESPACE
41
42
struct
QAccessibilityHintsForeign
43
{
44
Q_GADGET
45
QML_FOREIGN(QAccessibilityHints)
46
QML_ANONYMOUS
47
QML_ADDED_IN_VERSION(6, 10)
48
};
49
50
struct
QStyleHintsForeign
51
{
52
Q_GADGET
53
QML_FOREIGN(QStyleHints)
54
QML_ANONYMOUS
55
QML_ADDED_IN_VERSION
(6, 4)
56
};
57
58
struct
QImageForeign
59
{
60
Q_GADGET
61
QML_FOREIGN(QImage)
62
QML_ANONYMOUS
63
};
64
65
#
if
QT_CONFIG
(
validator
)
66
struct
QValidatorForeign
67
{
68
Q_GADGET
69
QML_FOREIGN(QValidator)
70
QML_ANONYMOUS
71
QML_ADDED_IN_VERSION(2, 0)
72
};
73
74
#
if
QT_CONFIG
(
regularexpression
)
75
struct
QRegularExpressionValidatorForeign
76
{
77
Q_GADGET
78
QML_FOREIGN(QRegularExpressionValidator)
79
QML_NAMED_ELEMENT(RegularExpressionValidator)
80
QML_ADDED_IN_VERSION(2, 14)
81
};
82
#
endif
// QT_CONFIG(regularexpression)
83
84
#
endif
// QT_CONFIG(validator)
85
86
#
if
QT_CONFIG
(
im
)
87
struct
QInputMethodForeign
88
{
89
Q_GADGET
90
QML_FOREIGN(QInputMethod)
91
QML_NAMED_ELEMENT(InputMethod)
92
QML_ADDED_IN_VERSION(2, 0)
93
QML_REMOVED_IN_VERSION(6, 4)
94
QML_UNCREATABLE(
"InputMethod is an abstract class."
)
95
};
96
#
endif
// QT_CONFIG(im)
97
98
#
if
QT_CONFIG
(
shortcut
)
99
namespace
QKeySequenceForeign
100
{
101
Q_NAMESPACE
102
QML_FOREIGN_NAMESPACE(QKeySequence)
103
QML_NAMED_ELEMENT(StandardKey)
104
QML_ADDED_IN_VERSION(2, 2)
105
};
106
#
endif
// QT_CONFIG(shortcut)
107
108
struct
QEventPointForeign
109
{
110
Q_GADGET
111
QML_FOREIGN(QEventPoint)
112
QML_VALUE_TYPE
(
eventPoint
)
113
QML_ADDED_IN_VERSION
(6, 5)
114
};
115
116
// Prevent the same QEventPoint type from being exported into qmltypes
117
// twice, as a value type and a namespace.
118
// TODO: Remove once QTBUG-115855 is fixed.
119
struct
QEventPointDerived
:
public
QEventPoint
120
{
121
Q_GADGET
122
};
123
124
namespace
QEventPointForeignNamespace
125
{
126
Q_NAMESPACE
127
QML_FOREIGN_NAMESPACE
(
QEventPointDerived
)
128
QML_NAMED_ELEMENT
(
EventPoint
)
129
QML_ADDED_IN_VERSION
(6, 6)
130
};
131
132
struct
QFontVariableAxisForeign
133
{
134
Q_GADGET
135
QML_ANONYMOUS
136
QML_ADDED_IN_VERSION
(6, 9)
137
QML_FOREIGN
(
QFontVariableAxis
)
138
};
139
140
struct
QScreenForeign
141
{
142
Q_GADGET
143
QML_FOREIGN(QScreen)
144
QML_ANONYMOUS
145
QML_ADDED_IN_VERSION
(2, 3)
// used in ScreenInfo
146
};
147
148
QT_END_NAMESPACE
149
150
#
endif
// QTQUICKFOREIGN_P_H
QEventPointForeignNamespace
Definition
qquickforeignutils_p.h:125
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QEventPointDerived
Definition
qquickforeignutils_p.h:120
QEventPointForeign
Definition
qquickforeignutils_p.h:109
QFontVariableAxisForeign
Definition
qquickforeignutils_p.h:133
QImageForeign
Definition
qquickforeignutils_p.h:59
QScreenForeign
Definition
qquickforeignutils_p.h:141
QStyleHintsForeign
Definition
qquickforeignutils_p.h:51
qtdeclarative
src
quick
util
qquickforeignutils_p.h
Generated on
for Qt by
1.18.0