Display version number in toolbar on the settings page

Fixes #341
This commit is contained in:
Cameron Gutman
2020-05-09 22:20:39 -07:00
parent fc9871b075
commit 12016af326
3 changed files with 12 additions and 0 deletions

View File

@@ -204,6 +204,15 @@ ApplicationWindow {
Layout.fillWidth: true
}
Label {
id: versionLabel
visible: stackView.currentItem.objectName === "Settings"
text: "Version " + SystemProperties.versionString
font.pointSize: titleLabel.font.pointSize
horizontalAlignment: Qt.AlignRight
verticalAlignment: Qt.AlignVCenter
}
NavigableToolButton {
id: addPcButton
visible: stackView.currentItem.objectName === "Computers"