harbour-seaprint/qml/pages/AboutPage.qml

149 lines
4.7 KiB
QML
Raw Permalink Normal View History

2021-07-11 15:27:03 +03:00
import QtQuick 2.6
2019-12-13 23:36:39 +03:00
import Sailfish.Silica 1.0
2020-05-11 21:44:53 +03:00
import seaprint.convertchecker 1.0
2019-12-13 23:36:39 +03:00
import "../components"
Page {
id: aboutPage
2020-08-06 18:34:14 +03:00
allowedOrientations: Orientation.All
2019-12-13 23:36:39 +03:00
SilicaFlickable {
id: aboutFlickable
anchors.fill: parent
contentHeight: column.height
PullDownMenu
{
MenuItem
{
text: qsTr("GitHub repository")
onClicked: Qt.openUrlExternally("https://github.com/attah/harbour-seaprint")
}
MenuItem
{
text: qsTr("Report an Issue")
onClicked: Qt.openUrlExternally("https://github.com/attah/harbour-seaprint/issues")
}
}
Column {
id: column
anchors {
top: parent.top
horizontalCenter: parent.horizontalCenter
}
width: Math.min(Screen.width, aboutFlickable.width)
spacing: Theme.paddingLarge
Item {
width: parent.width
height: Theme.paddingLarge
}
SectionHeader { text: qsTr("About") + " SeaPrint" }
Image {
anchors.horizontalCenter: parent.horizontalCenter
source: Qt.resolvedUrl("/usr/share/icons/hicolor/172x172/apps/harbour-seaprint.png")
width: Theme.iconSizeExtraLarge
height: Theme.iconSizeExtraLarge
smooth: true
asynchronous: true
}
2019-12-13 23:36:39 +03:00
AboutLabel {
font.pixelSize: Theme.fontSizeLarge
color: Theme.highlightColor
text: "SeaPrint v" + Qt.application.version
2019-12-13 23:36:39 +03:00
}
2019-12-13 23:36:39 +03:00
AboutLabel {
font.pixelSize: Theme.fontSizeSmall
color: Theme.primaryColor
2021-01-22 22:02:12 +03:00
text: "© 2019-2021 Anton Thomasson"
2019-12-13 23:36:39 +03:00
}
2020-08-22 19:48:18 +03:00
2019-12-13 23:36:39 +03:00
AboutLabel {
font.pixelSize: Theme.fontSizeSmall
color: Theme.primaryColor
text: qsTr("Network printing for Sailfish OS.")
}
SectionHeader { text: qsTr("Icons") }
AboutLabel {
font.pixelSize: Theme.fontSizeSmall
text: qsTr("Icon made by Gregguh.")
}
SectionHeader { text: qsTr("General contributions") }
2020-06-21 20:19:24 +03:00
AboutLabel {
font.pixelSize: Theme.fontSizeSmall
2020-11-24 21:56:20 +03:00
text: "karry\n"+
"piggz\n"+
"Rudi Timmermans"
2020-06-21 20:19:24 +03:00
}
2021-03-06 22:20:38 +03:00
SectionHeader { text: qsTr("Special thanks to") }
AboutLabel {
font.pixelSize: Theme.fontSizeSmall
text: "dcaliste"
}
2019-12-13 23:36:39 +03:00
SectionHeader { text: qsTr("Translations") }
AboutLabel {
font.pixelSize: Theme.fontSizeSmall
text: qsTr("Chinese")+" - dashinfantry\n"+
2020-09-22 21:49:40 +03:00
qsTr("Dutch")+" - JSEHV, Rudi Timmermans\n"+
2020-01-14 21:53:55 +03:00
qsTr("French")+" - ensag-dev, Quentí\n"+
2020-09-13 18:10:17 +03:00
qsTr("German")+" - black-sheep-dev\n"+
qsTr("Polish")+" - atlochowski\n"+
qsTr("Spanish")+" - carmenfdezb"
2020-05-11 21:44:53 +03:00
}
SectionHeader { text: qsTr("Optional dependencies") }
2021-03-06 22:20:38 +03:00
AboutLabel {
font.pixelSize: Theme.fontSizeSmall
text: "calligraconverter - "+(ConvertChecker.calligra ? qsTr("Installed") : qsTr("Not installed"))
}
2020-08-22 19:48:18 +03:00
SectionHeader { text: qsTr("Donations") }
AboutLabel {
font.pixelSize: Theme.fontSizeSmall
color: Theme.highlightColor
text: "paypal.me/AntonThomasson"
font.underline: true
MouseArea {
anchors.fill:parent
onClicked: Qt.openUrlExternally("https://"+parent.text)
}
}
2019-12-13 23:36:39 +03:00
SectionHeader { text: qsTr("Licensing") }
AboutLabel {
font.pixelSize: Theme.fontSizeSmall
text: qsTr("Source code is available at GitHub. Translations, bug reports and other contributions are welcome!")
}
2019-12-13 23:36:39 +03:00
Button {
text: "GitHub"
anchors.horizontalCenter: parent.horizontalCenter
onClicked: Qt.openUrlExternally("https://github.com/attah/harbour-seaprint")
}
2019-12-13 23:36:39 +03:00
AboutLabel {
font.pixelSize: Theme.fontSizeSmall
color: Theme.primaryColor
text: qsTr("SeaPrint is free software released under the GNU General Public License (GPL), version 3 or later.")
2019-12-13 23:36:39 +03:00
}
}
}
}