blob: 4d7b47ec0aadd3b4be195ea3ffebdd438a59b4d0 (
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
|
// 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
#include "qquickfocusscope_p.h"
QT_BEGIN_NAMESPACE
/*!
\qmltype FocusScope
\instantiates 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"
|