[solved]tab for TextInput in QML
-
wrote on 12 Jul 2011, 13:44 last edited by
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?
-
wrote on 12 Jul 2011, 14:50 last edited by
http://developer.qt.nokia.com/forums/viewthread/3372
The term "tab order" gives you the hits you need.
-
wrote on 12 Jul 2011, 14:53 last edited by
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
@
1/3