Files
pay/guis/mobile/SendTransactionsTab.qml
T

50 lines
1.5 KiB
QML
Raw Permalink Normal View History

2022-11-26 18:01:11 +01:00
/*
* This file is part of the Flowee project
2023-07-05 12:24:31 +02:00
* Copyright (C) 2022-2023 Tom Zander <tom@flowee.org>
2022-11-26 18:01:11 +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
2022-12-05 18:34:53 +01:00
import QtQuick.Layouts
2022-11-26 18:01:11 +01:00
FocusScope {
id: root
2022-12-08 11:34:10 +01:00
property string icon: "qrc:/sending" + (Pay.useDarkSkin ? "-light.svg" : ".svg");
2022-11-26 18:01:11 +01:00
property string title: qsTr("Send")
2022-12-05 18:34:53 +01:00
ColumnLayout {
width: parent.width - 20
x: 10
2023-07-05 12:24:31 +02:00
y: 10
2022-11-26 18:01:11 +01:00
2023-05-19 16:29:36 +02:00
InstaPayConfigButton {
}
2022-12-05 18:34:53 +01:00
TextButton {
2023-06-13 19:00:08 +02:00
text: qsTr("Start Payment")
2022-12-05 18:34:53 +01:00
showPageIcon: true
onClicked: thePile.push("PayWithQR.qml")
2022-11-26 18:01:11 +01:00
}
2023-06-12 15:26:31 +02:00
Repeater {
model: ModuleManager.sendMenuItems
TextButton {
text: modelData.text
subtext: modelData.subtext
showPageIcon: true
onClicked: thePile.push(modelData.qml)
}
2023-03-10 22:16:37 +01:00
}
2022-11-26 18:01:11 +01:00
}
}