branch | qmlfrontend |
changeset 12883 | adb1fccc706a |
parent 12854 | 28cb18c5e712 |
child 12884 | 66171ce586cc |
12882:bf58f2403953 | 12883:adb1fccc706a |
---|---|
13 anchors.fill: parent |
13 anchors.fill: parent |
14 currentIndex: tabBar.currentIndex |
14 currentIndex: tabBar.currentIndex |
15 |
15 |
16 Page1 { |
16 Page1 { |
17 } |
17 } |
18 |
|
19 Page { |
|
20 Label { |
|
21 text: qsTr("Second page") |
|
22 anchors.centerIn: parent |
|
23 } |
|
24 } |
|
25 } |
|
26 |
|
27 footer: TabBar { |
|
28 id: tabBar |
|
29 currentIndex: swipeView.currentIndex |
|
30 TabButton { |
|
31 text: qsTr("First") |
|
32 } |
|
33 TabButton { |
|
34 text: qsTr("Second") |
|
35 } |
|
36 } |
18 } |
37 } |
19 } |