Add Ko-Fi link
This commit is contained in:
parent
663c94c1ce
commit
866cb8f904
3 changed files with 27 additions and 1 deletions
|
@ -64,7 +64,10 @@ OTHER_FILES += service/harbour-batterybuddy.service
|
||||||
service.files = service
|
service.files = service
|
||||||
service.path = /usr/share/$${TARGET}
|
service.path = /usr/share/$${TARGET}
|
||||||
|
|
||||||
INSTALLS += service
|
images.files = images
|
||||||
|
images.path = /usr/share/$${TARGET}
|
||||||
|
|
||||||
|
INSTALLS += service images
|
||||||
|
|
||||||
# Begin: include sound files
|
# Begin: include sound files
|
||||||
|
|
||||||
|
|
BIN
application/images/Ko-fi_Icon_RGB_rounded.png
Normal file
BIN
application/images/Ko-fi_Icon_RGB_rounded.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
|
@ -81,6 +81,29 @@ Page {
|
||||||
text: "Copyright 2019-2020 Matti Viljanen"
|
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 {
|
AboutLabel {
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
color: Theme.secondaryColor
|
color: Theme.secondaryColor
|
||||||
|
|
Loading…
Reference in a new issue