[solved]tab for TextInput in QML
-
I have some QML element like TextInput and I would like to use tab key to switch the focus between different input. How to do it? any example?
-
http://developer.qt.nokia.com/forums/viewthread/3372
The term "tab order" gives you the hits you need.
-
See http://doc.qt.nokia.com/latest/qml-keynavigation.html
Basically, set the KeyNavigation tab and backtab properties to the items which focus should switch to for Tab and Shift+Tab.
@
KeyNavigation.tab: nextItem
KeyNavigation.backtab: prevItem
@