summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-04-08 19:19:16 +1000
committerYann Bodson <yann.bodson@nokia.com>2010-04-08 19:19:16 +1000
commitc7674473ced40e0bf02459f0119bc3eb12bbf9b5 (patch)
tree05bbd1953626727df0cd6d6ef152dd5150a3b8a1 /demos
parent978c56d47a6436fab9ab239bc81cdbf245b9ab10 (diff)
Add tab navigation to twitter example authentication screen.
Diffstat (limited to 'demos')
-rw-r--r--demos/declarative/twitter/TwitterCore/AuthView.qml13
1 files changed, 8 insertions, 5 deletions
diff --git a/demos/declarative/twitter/TwitterCore/AuthView.qml b/demos/declarative/twitter/TwitterCore/AuthView.qml
index 9d9341ab49..7986e748a9 100644
--- a/demos/declarative/twitter/TwitterCore/AuthView.qml
+++ b/demos/declarative/twitter/TwitterCore/AuthView.qml
@@ -24,7 +24,8 @@ Item {
font.pixelSize: 16;
font.bold: true
color: "#151515"; selectionColor: "green"
- KeyNavigation.down: passIn
+ KeyNavigation.tab: passIn
+ KeyNavigation.backtab: guest
focus: true
}
}
@@ -49,8 +50,8 @@ Item {
font.pixelSize: 16;
font.bold: true
color: "#151515"; selectionColor: "green"
- KeyNavigation.down: login
- KeyNavigation.up: nameIn
+ KeyNavigation.tab: login
+ KeyNavigation.backtab: nameIn
}
}
}
@@ -69,7 +70,8 @@ Item {
}
text: "Log in"
KeyNavigation.right: guest
- KeyNavigation.up: passIn
+ KeyNavigation.tab: guest
+ KeyNavigation.backtab: passIn
Keys.onReturnPressed: login.doLogin();
Keys.onSelectPressed: login.doLogin();
Keys.onSpacePressed: login.doLogin();
@@ -88,7 +90,8 @@ Item {
}
text: "Guest"
KeyNavigation.left: login
- KeyNavigation.up: passIn
+ KeyNavigation.tab: nameIn
+ KeyNavigation.backtab: login
Keys.onReturnPressed: guest.doGuest();
Keys.onSelectPressed: guest.doGuest();
Keys.onSpacePressed: guest.doGuest();