UTPassMirror/qml/pages/headers/StackHeader.qml

32 lines
655 B
QML
Raw Normal View History

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 {
height: parent.height
2019-03-16 09:08:41 +00:00
width: parent.width
Label {
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()
}
}
]
}