Add Ko-Fi link

This commit is contained in:
Matti Viljanen 2020-04-26 17:21:19 +03:00
parent 663c94c1ce
commit 866cb8f904
No known key found for this signature in database
GPG key ID: CF32A1495158F888
3 changed files with 27 additions and 1 deletions

View file

@ -64,7 +64,10 @@ OTHER_FILES += service/harbour-batterybuddy.service
service.files = service
service.path = /usr/share/$${TARGET}
INSTALLS += service
images.files = images
images.path = /usr/share/$${TARGET}
INSTALLS += service images
# Begin: include sound files

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -81,6 +81,29 @@ Page {
text: "Copyright 2019-2020 Matti Viljanen"
}
AboutLabel {
font.pixelSize: Theme.fontSizeSmall
color: Theme.secondaryColor
text: qsTr("If you like my work and would like to support me, you can buy me a coffee!")
}
BackgroundItem {
anchors.horizontalCenter: parent.horizontalCenter
width: Theme.iconSizeExtraLarge * 1.2
height: Theme.iconSizeExtraLarge * 1.2
onClicked: Qt.openUrlExternally("https://ko-fi.com/direc85")
contentItem.radius: Theme.paddingSmall
Image {
anchors.centerIn: parent
source: Qt.resolvedUrl("/usr/share/harbour-batterybuddy/images/Ko-fi_Icon_RGB_rounded.png")
width: Theme.iconSizeExtraLarge
height: Theme.iconSizeExtraLarge
smooth: true
asynchronous: true
}
}
AboutLabel {
font.pixelSize: Theme.fontSizeSmall
color: Theme.secondaryColor