1
0
mirror of https://github.com/QRouland/UTPass.git synced 2025-01-27 00:56:38 +00:00
UTPass/qml/pages/headers/StackHeader.qml

37 lines
661 B
QML
Raw Normal View History

import Lomiri.Components 1.3
2025-01-10 15:28:42 +01:00
import QtQuick 2.4
2019-09-20 21:29:39 +02:00
PageHeader {
id: stackHeader
2025-01-10 15:28:42 +01:00
2019-09-20 21:29:39 +02:00
width: parent.width
height: units.gu(6)
title: i18n.tr("UTPass")
2025-01-10 15:28:42 +01:00
leadingActionBar.height: units.gu(4)
leadingActionBar.actions: [
Action {
id: backAction
iconName: "back"
text: "Back"
onTriggered: {
pageStack.pop();
}
}
]
2019-09-20 21:29:39 +02:00
contents: Item {
height: parent.height
width: parent.width
2025-01-10 15:28:42 +01:00
2019-09-20 21:29:39 +02:00
Label {
id: labelTitle
2025-01-10 15:28:42 +01:00
2019-09-20 21:29:39 +02:00
text: stackHeader.title
anchors.verticalCenter: parent.verticalCenter
}
2025-01-10 15:28:42 +01:00
2019-09-20 21:29:39 +02:00
}
}