blob: b3fbef22921bb56f96d5fba046e32119e45d0774 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
// Qt-Security score:significant reason:default
#include "qquickfocusscope_p.h"
QT_BEGIN_NAMESPACE
/*!
\qmltype FocusScope
\nativetype QQuickFocusScope
\inqmlmodule QtQuick
\ingroup qtquick-input
\brief Explicitly creates a focus scope.
\inherits Item
Focus scopes assist in keyboard focus handling when building reusable QML
components. All the details are covered in the
\l {Keyboard Focus in Qt Quick}{keyboard focus documentation}.
\sa {Qt Quick Examples - Key Interaction}
*/
QQuickFocusScope::QQuickFocusScope(QQuickItem *parent)
: QQuickItem(parent)
{
setFlag(ItemIsFocusScope);
}
QT_END_NAMESPACE
#include "moc_qquickfocusscope_p.cpp"
|