License button to open LICENSE file

This commit is contained in:
Michal Horejsek
2020-12-03 14:54:58 +01:00
committed by Jakub Cuth
parent 8515f6e6ac
commit f295d03641
8 changed files with 81 additions and 1 deletions

View File

@ -106,6 +106,20 @@ Item {
}
}
Text {
id: licenseFile
text : qsTr("License", "link to click on to open license file")
color : Style.main.textDisabled
font.pointSize: Style.main.fontSize * Style.pt
font.underline: true
MouseArea {
anchors.fill: parent
onClicked : {
go.openLicenseFile()
}
cursorShape: Qt.PointingHandCursor
}
}
Text {
id: releaseNotes