diff options
Diffstat (limited to 'src/declarative/items/qsgfocusscope.cpp')
-rw-r--r-- | src/declarative/items/qsgfocusscope.cpp | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/declarative/items/qsgfocusscope.cpp b/src/declarative/items/qsgfocusscope.cpp index 156869120d..2018d5ce7d 100644 --- a/src/declarative/items/qsgfocusscope.cpp +++ b/src/declarative/items/qsgfocusscope.cpp @@ -43,7 +43,21 @@ QT_BEGIN_NAMESPACE -QSGFocusScope::QSGFocusScope(QSGItem *parent) +/*! + \qmlclass FocusScope QSGFocusScope + \inqmlmodule QtQuick 2 + \ingroup qml-basic-interaction-elements + + \brief The FocusScope object 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 {qmlfocus}{keyboard focus documentation}. + + \sa {declarative/keyinteraction/focus}{Keyboard focus example} +*/ +QSGFocusScope::QSGFocusScope(QSGItem *parent) : QSGItem(parent) { setFlag(ItemIsFocusScope); |