Files
pay/guis/mobile/About.qml
T

111 lines
3.2 KiB
QML
Raw Permalink Normal View History

2022-11-23 16:06:37 +01:00
/*
* This file is part of the Flowee project
2023-03-15 17:17:29 +01:00
* Copyright (C) 2022-2023 Tom Zander <tom@flowee.org>
2022-11-23 16:06:37 +01:00
*
* 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")
2022-12-05 20:31:00 +01:00
ColumnLayout {
width: parent.width
2022-11-23 16:06:37 +01:00
2022-12-05 20:31:00 +01:00
Image {
source: Pay.useDarkSkin ? "qrc:/FloweePay-light.svg" : "qrc:/FloweePay.svg"
Layout.fillWidth: true
fillMode: Image.PreserveAspectFit
}
2022-11-23 16:06:37 +01:00
2022-12-05 20:31:00 +01:00
Flowee.Label {
text: "Flowee Pay (mobile) v" + Application.version
2023-07-05 12:24:31 +02:00
Layout.fillWidth: true
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
2022-12-05 20:31:00 +01:00
}
Item { width: 10; height: 10 } // spacer
2022-11-23 16:06:37 +01:00
2022-12-05 20:31:00 +01:00
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")
2024-01-26 18:55:36 +01:00
subtext: qsTr("© 2020-2024 Tom Zander and contributors")
2024-12-23 18:51:55 +01:00
pageButton: true
2022-12-05 20:31:00 +01:00
onClicked: thePile.push(creditsPage)
2022-11-23 16:06:37 +01:00
2022-12-05 20:31:00 +01:00
Component {
id: creditsPage
Page {
headerText: qsTr("Credits")
Flowee.Label {
2024-12-15 18:59:55 +01:00
text: "<h2>Author and maintainer</h2>
2022-11-23 16:06:37 +01:00
Tom Zander
2024-12-15 18:59:55 +01:00
<h2>Translations</h2>
2023-08-27 19:09:43 +02:00
2024-12-15 18:59:55 +01:00
<dl><dt>Deutsch</dt>
2023-08-27 19:09:43 +02:00
<dd>Georg Engelmann</dd>
<dt>Español</dt>
<dd>Gerard H.R.(devperate)</dd>
2024-01-09 21:04:28 +01:00
<dt>Hausa</dt>
<dd>Ibrahim Rabiu</dd>
2023-08-27 19:09:43 +02:00
<dt>Nederlands</dt>
<dd>Tom Zander</dd>
<dt>Polski</dt>
<dd>Yantri & Karol Trzeszczkowski</dd>
2023-10-29 22:50:41 +01:00
<dt>Portuguese</dt>
<dd>bitcoincashbrazil</dd>
2023-08-27 19:09:43 +02:00
</dl>
2024-12-15 18:59:55 +01:00
<h2>Code Contributors</h2>
2022-11-23 16:06:37 +01:00
2023-10-29 22:50:41 +01:00
Calin Culianu
2022-11-23 16:06:37 +01:00
2024-12-15 18:59:55 +01:00
<h2>Art Contributors</h2>
2022-11-23 16:06:37 +01:00
You?
"
2024-12-15 18:59:55 +01:00
textFormat: Text.RichText
2022-12-05 20:31:00 +01:00
wrapMode: Text.WordWrap
2023-02-22 21:25:46 +01:00
width: parent.width
2022-12-05 20:31:00 +01:00
}
2022-11-23 16:06:37 +01:00
}
}
}
2022-12-05 20:31:00 +01:00
TextButton {
text: qsTr("Project Home")
subtext: qsTr("With git repository and issues tracker")
imageSource: translate.imageSource
onClicked: Qt.openUrlExternally("https://codeberg.org/Flowee/pay");
}
TextButton {
text: qsTr("Telegram")
imageSource: translate.imageSource
onClicked: Qt.openUrlExternally("https://t.me/Flowee_org");
}
2022-11-23 16:06:37 +01:00
}
}