aboutsummaryrefslogtreecommitdiffstats
path: root/DemoApplication
diff options
context:
space:
mode:
Diffstat (limited to 'DemoApplication')
-rw-r--r--DemoApplication/main.qml48
1 files changed, 27 insertions, 21 deletions
diff --git a/DemoApplication/main.qml b/DemoApplication/main.qml
index 58f1af5..bfb7840 100644
--- a/DemoApplication/main.qml
+++ b/DemoApplication/main.qml
@@ -13,28 +13,34 @@ ApplicationWindow {
visible: true
title: qsTr("Cursor Navigation Demo Application")
- header: TabBar {
- id: tabBar
- width: parent.width
- CNTabButton {
- text: qsTr("Page 1")
- }
- CNTabButton {
- text: qsTr("Page 2")
- }
- CNTabButton {
- text: qsTr("Page 3")
- }
- CNTabButton {
- text: qsTr("Page 4")
- }
- CNTabButton {
- text: qsTr("Page 5")
- }
- CNTabButton {
- text: qsTr("Map")
+ header:
+
+ TabBar {
+ id: tabBar
+ width: window.width
+
+ CursorNavigation.acceptsCursor: true
+
+ CNTabButton {
+ text: qsTr("Page 1")
+ focus: true
+ }
+ CNTabButton {
+ text: qsTr("Page 2")
+ }
+ CNTabButton {
+ text: qsTr("Page 3")
+ }
+ CNTabButton {
+ text: qsTr("Page 4")
+ }
+ CNTabButton {
+ text: qsTr("Page 5")
+ }
+ CNTabButton {
+ text: qsTr("Map")
+ }
}
- }
contentData: StackLayout {
anchors.fill: parent