Move all subpages to MainPage for faster access
This commit is contained in:
parent
b1ab73eec0
commit
65cf70c15e
2 changed files with 8 additions and 11 deletions
|
@ -69,6 +69,14 @@ Page {
|
||||||
text: qsTr("Background", "More to read, background information...")
|
text: qsTr("Background", "More to read, background information...")
|
||||||
onClicked: pageStack.push(Qt.resolvedUrl("InfoPage.qml"))
|
onClicked: pageStack.push(Qt.resolvedUrl("InfoPage.qml"))
|
||||||
}
|
}
|
||||||
|
MenuItem {
|
||||||
|
text: qsTr("About", "About this application")
|
||||||
|
onClicked: pageStack.push(Qt.resolvedUrl("AboutPage.qml"))
|
||||||
|
}
|
||||||
|
MenuItem {
|
||||||
|
text: qsTr("View log")
|
||||||
|
onClicked: pageStack.push(Qt.resolvedUrl("LogPage.qml"))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Place our content in a Column. The PageHeader is always placed at the top
|
// Place our content in a Column. The PageHeader is always placed at the top
|
||||||
|
|
|
@ -67,17 +67,6 @@ Page {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
contentHeight: flow.height + Theme.horizontalPageMargin
|
contentHeight: flow.height + Theme.horizontalPageMargin
|
||||||
|
|
||||||
PullDownMenu {
|
|
||||||
MenuItem {
|
|
||||||
text: qsTr("View log")
|
|
||||||
onClicked: pageStack.push(Qt.resolvedUrl("LogPage.qml"))
|
|
||||||
}
|
|
||||||
MenuItem {
|
|
||||||
text: qsTr("About", "About this application")
|
|
||||||
onClicked: pageStack.push(Qt.resolvedUrl("AboutPage.qml"))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Flow {
|
Flow {
|
||||||
id: flow
|
id: flow
|
||||||
anchors {
|
anchors {
|
||||||
|
|
Loading…
Reference in a new issue