summaryrefslogtreecommitdiffstats
path: root/src/mobile/qml/Main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/mobile/qml/Main.qml')
-rw-r--r--src/mobile/qml/Main.qml17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/mobile/qml/Main.qml b/src/mobile/qml/Main.qml
index 761448d..1991983 100644
--- a/src/mobile/qml/Main.qml
+++ b/src/mobile/qml/Main.qml
@@ -57,6 +57,17 @@ Rectangle {
onUrlSelected: navigationPanel.openUrlInNewTab(UrlTools.fromUserInput(url))
}
+ TabsPanel {
+ id: tabsPanel
+ opacity: 0
+ anchors {
+ top: panelToggle.bottom
+ left: parent.left
+ right: parent.right
+ topMargin: 32
+ }
+ }
+
NavigationPanel {
id: navigationPanel
opacity: 0
@@ -154,6 +165,7 @@ Rectangle {
PropertyChanges { target: plusButton; opacity: 1 }
PropertyChanges { target: panelToggle; opacity: 1 }
PropertyChanges { target: topSitesPanel; opacity: 1 }
+ PropertyChanges { target: tabsPanel; opacity: 0 }
PropertyChanges { target: navigationPanel; opacity: 0 }
},
State {
@@ -162,7 +174,8 @@ Rectangle {
PropertyChanges { target: plusButton; opacity: 1 }
PropertyChanges { target: panelToggle; opacity: 1 }
PropertyChanges { target: topSitesPanel; opacity: 0 }
- PropertyChanges { target: navigationPanel; opacity: 1 }
+ PropertyChanges { target: tabsPanel; opacity: 1 }
+ PropertyChanges { target: navigationPanel; opacity: 0 }
},
State {
name: "navigationFullScreen"
@@ -170,6 +183,7 @@ Rectangle {
PropertyChanges { target: plusButton; opacity: 0 }
PropertyChanges { target: panelToggle; opacity: 0 }
PropertyChanges { target: topSitesPanel; opacity: 0 }
+ PropertyChanges { target: tabsPanel; opacity: 0 }
PropertyChanges { target: navigationPanel; opacity: 1 }
},
State {
@@ -178,6 +192,7 @@ Rectangle {
PropertyChanges { target: plusButton; opacity: 0 }
PropertyChanges { target: panelToggle; opacity: 0 }
PropertyChanges { target: topSitesPanel; opacity: 0 }
+ PropertyChanges { target: tabsPanel; opacity: 0 }
PropertyChanges { target: navigationPanel; opacity: 0 }
}
]