/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
** Contact: http://www.qt-project.org/
**
** This file is part of the documentation of the Qt Toolkit.
**
**
**
+**
** $QT_END_LICENSE$
**
****************************************************************************/
\snippet doc/src/snippets/declarative/focus/widget.qml window
The MyWidget code:
-\snippet doc/src/snippets/declarative/focus/mywidget.qml mywidget
+\snippet doc/src/snippets/declarative/focus/MyWidget.qml mywidget
We would like to have the first MyWidget object to have the focus by setting its
\c focus property to \c true. However, by running the code, we can confirm that
\snippet doc/src/snippets/declarative/focus/clickablewidget.qml clickable window
The MyClickableWidget code:
-\snippet doc/src/snippets/declarative/focus/myclickablewidget.qml clickable in focusscope
+\snippet doc/src/snippets/declarative/focus/MyClickableWidget.qml clickable in focusscope
\image declarative-qmlfocus4.png