2019-03-15 16:53:40 +00:00
|
|
|
import QtQuick 2.4
|
|
|
|
import Ubuntu.Components 1.3
|
|
|
|
|
|
|
|
PageHeader {
|
2019-03-16 09:08:41 +00:00
|
|
|
id: stackHeader
|
2019-03-15 16:53:40 +00:00
|
|
|
width: parent.width
|
|
|
|
height: units.gu(6)
|
|
|
|
title: i18n.tr("UTPass")
|
|
|
|
|
2019-03-16 09:08:41 +00:00
|
|
|
contents: Item {
|
2019-03-21 10:22:12 +00:00
|
|
|
height: parent.height
|
2019-03-16 09:08:41 +00:00
|
|
|
width: parent.width
|
|
|
|
Label {
|
2019-03-21 10:22:12 +00:00
|
|
|
id: labelTitle
|
2019-03-16 09:08:41 +00:00
|
|
|
text: stackHeader.title
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-15 16:53:40 +00:00
|
|
|
leadingActionBar.height: units.gu(4)
|
|
|
|
leadingActionBar.actions: [
|
|
|
|
Action {
|
|
|
|
id: backAction
|
|
|
|
iconName: "back"
|
|
|
|
text: "Back"
|
|
|
|
onTriggered: {
|
|
|
|
pageStack.pop()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|