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
qquickfocusscope.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 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
4
#
include
"qquickfocusscope_p.h"
5
6
QT_BEGIN_NAMESPACE
7
8
/*!
9
\qmltype FocusScope
10
\nativetype QQuickFocusScope
11
\inqmlmodule QtQuick
12
\ingroup qtquick-input
13
14
\brief Explicitly creates a focus scope.
15
\inherits Item
16
17
Focus scopes assist in keyboard focus handling when building reusable QML
18
components. All the details are covered in the
19
\l {Keyboard Focus in Qt Quick}{keyboard focus documentation}.
20
21
\sa {Qt Quick Examples - Key Interaction}
22
*/
23
QQuickFocusScope::QQuickFocusScope(QQuickItem *parent)
24
: QQuickItem(parent)
25
{
26
setFlag(ItemIsFocusScope);
27
}
28
29
QT_END_NAMESPACE
30
31
#
include
"moc_qquickfocusscope_p.cpp"
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
qtdeclarative
src
quick
items
qquickfocusscope.cpp
Generated on Mon Mar 10 2025 00:49:34 for Qt by
1.13.2