AboutDialog: Add link info

pull/19/head
reionwong 4 years ago
parent 3d0c6f0eb1
commit 78e8a76ceb

@ -20,6 +20,7 @@ FishUI.Window {
property var iconSource
property string name
property string description
property string link: "https://cutefishos.com"
property var contentHeight: _mainLayout.implicitHeight + control.header.height * 2
DragHandler {
@ -57,6 +58,19 @@ FishUI.Window {
Layout.alignment: Qt.AlignHCenter
}
Label {
text: "<a href=\"%1\">%1</a>".arg(control.link)
Layout.alignment: Qt.AlignHCenter
linkColor: FishUI.Theme.highlightColor
visible: Installer.homePage
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
onClicked: Qt.openUrlExternally(control.link)
}
}
Item {
Layout.fillHeight: true
}

Loading…
Cancel
Save