QML FocusScope Element
The FocusScope object explicitly creates a focus scope. More...
Inherits Item
This element was introduced in Qt 4.7.
Detailed Description
Focus scopes assist in keyboard focus handling when building reusable QML components. All the details are covered in the keyboard focus documentation.
See also Keyboard focus example.


Votes: 3
Coverage: Qt library 4.7, 4.8
Robot Herder
2 notes
FocusScope best practice sample code
Within each focus scope, the best practice is to set only one element property Item::focus set as true:
[Revisions]