harbour-muchkin/qml/About.qml

49 lines
1.3 KiB
QML
Raw Permalink Normal View History

2021-05-16 19:59:28 +00:00
import QtQuick 2.0
import Sailfish.Silica 1.0
Page {
PageHeader {
id: header
title: "About"
}
Label {
anchors.top: header.bottom
anchors.horizontalCenter: parent.horizontalCenter
width: parent.width
2024-04-02 07:16:32 +00:00
text: "this application was created by\nkirbylife\nunder the GPL V3 license,\nanyone is free to view\nthe code and modify it."
2021-05-16 19:59:28 +00:00
truncationMode: TruncationMode.Elide
}
Button {
id: btnCode
2024-04-02 07:16:32 +00:00
anchors.bottom: btnMastodon.top
2021-05-16 19:59:28 +00:00
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottomMargin: 50
text: "Code"
onClicked: {
2024-04-02 07:16:32 +00:00
Qt.openUrlExternally("https://git.kirbylife.dev/kirbylife/harbour-muchkin")
2021-05-16 19:59:28 +00:00
}
}
Button {
2024-04-02 07:16:32 +00:00
id: btnMastodon
2021-05-16 19:59:28 +00:00
anchors.bottom: btnDonate.top
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottomMargin: 50
2024-04-02 07:16:32 +00:00
text: "Mastodon"
2021-05-16 19:59:28 +00:00
onClicked: {
2024-04-02 07:16:32 +00:00
Qt.openUrlExternally("https://mstdn.mx/@kirbylife")
2021-05-16 19:59:28 +00:00
}
}
Button {
id: btnDonate
anchors.bottom: parent.bottom
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottomMargin: 50
text: "Donate"
onClicked: {
Qt.openUrlExternally("https://www.paypal.com/paypalme/kirbylife")
}
}
}