Files
pay/guis/mobile/About.qml
T
2025-02-25 18:29:55 +01:00

111 lines
3.2 KiB
QML

/*
* This file is part of the Flowee project
* Copyright (C) 2022-2023 Tom Zander <tom@flowee.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick
import QtQuick.Layouts
import "../Flowee" as Flowee
Page {
headerText: qsTr("About")
ColumnLayout {
width: parent.width
Image {
source: Pay.useDarkSkin ? "qrc:/FloweePay-light.svg" : "qrc:/FloweePay.svg"
Layout.fillWidth: true
fillMode: Image.PreserveAspectFit
}
Flowee.Label {
text: "Flowee Pay (mobile) v" + Application.version
Layout.fillWidth: true
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
}
Item { width: 10; height: 10 } // spacer
TextButton {
id: translate
text: qsTr("Help translate this app")
imageSource: Pay.useDarkSkin ? "qrc:/external-light.svg" : "qrc:/external.svg"
onClicked: Qt.openUrlExternally("https://crowdin.com/project/floweepay");
}
TextButton {
text: qsTr("License")
imageSource: translate.imageSource
onClicked: Qt.openUrlExternally("https://www.gnu.org/licenses/gpl-3.0")
}
TextButton {
text: qsTr("Credits")
subtext: qsTr("© 2020-2025 Tom Zander and contributors")
pageButton: true
onClicked: thePile.push(creditsPage)
Component {
id: creditsPage
Page {
headerText: qsTr("Credits")
Flowee.Label {
text: "<h2>Author and maintainer</h2>
Tom Zander
<h2>Translations</h2>
<dl><dt>Deutsch</dt>
<dd>Georg Engelmann</dd>
<dt>Español</dt>
<dd>Gerard H.R.(devperate)</dd>
<dt>Hausa</dt>
<dd>Ibrahim Rabiu</dd>
<dt>Nederlands</dt>
<dd>Tom Zander</dd>
<dt>Polski</dt>
<dd>Yantri & Karol Trzeszczkowski</dd>
<dt>Portuguese</dt>
<dd>bitcoincashbrazil</dd>
</dl>
<h2>Code Contributors</h2>
Calin Culianu
<h2>Art Contributors</h2>
You?
"
textFormat: Text.RichText
wrapMode: Text.WordWrap
width: parent.width
}
}
}
}
TextButton {
text: qsTr("Project Home")
subtext: qsTr("With git repository and issues tracker")
imageSource: translate.imageSource
onClicked: Qt.openUrlExternally("http://bitcoincashcode.org/Flowee/pay");
}
TextButton {
text: qsTr("Telegram")
imageSource: translate.imageSource
onClicked: Qt.openUrlExternally("https://t.me/Flowee_org");
}
}
}