Skip to content

Commit

Permalink
Add link to manual
Browse files Browse the repository at this point in the history
  • Loading branch information
kebekus committed Feb 17, 2025
1 parent e11dfde commit 271adec
Showing 1 changed file with 51 additions and 1 deletion.
52 changes: 51 additions & 1 deletion src/qml/pages/TrafficReceiver.qml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,57 @@ Page {

required property var appWindow

header: StandardHeader {}

header: PageHeader {

height: 60 + SafeInsets.top
leftPadding: SafeInsets.left
rightPadding: SafeInsets.right
topPadding: SafeInsets.top

ToolButton {
id: backButton

anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter

icon.source: "/icons/material/ic_arrow_back.svg"

onClicked: {
PlatformAdaptor.vibrateBrief()
stackView.pop()
}
}

Label {
id: lbl

anchors.verticalCenter: parent.verticalCenter

anchors.left: parent.left
anchors.leftMargin: 72
anchors.right: headerMenuToolButton.left

text: stackView.currentItem.title
elide: Label.ElideRight
font.pixelSize: 20
verticalAlignment: Qt.AlignVCenter
}

ToolButton {
id: headerMenuToolButton

anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter

icon.source: "/icons/material/ic_info_outline.svg"
onClicked: {
PlatformAdaptor.vibrateBrief()
openManual("05-referencePages/04-infoTraffic.html")
}
}
}


Component {
id: trafficDelegate
Expand Down

0 comments on commit 271adec

Please sign in to comment.