Files
pay/guis/mobile/MainView.qml
T

44 lines
1.3 KiB
QML
Raw Permalink Normal View History

2022-11-15 11:38:28 +01:00
/*
* This file is part of the Flowee project
2024-10-22 00:03:58 +02:00
* Copyright (C) 2022-2024 Tom Zander <tom@flowee.org>
2022-11-15 11:38:28 +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/>.
*/
2022-11-26 10:44:52 +01:00
import QtQuick
import "../Flowee" as Flowee
2022-11-15 11:38:28 +01:00
MainViewBase {
2024-10-22 00:03:58 +02:00
showFilterIcon: currentIndex === 0
2022-11-17 00:12:17 +01:00
AccountHistory {
2022-11-15 11:38:28 +01:00
anchors.fill: parent
2022-12-19 21:01:07 +01:00
PopupOverlay { id: popupOverlay }
2024-10-22 00:03:58 +02:00
Component {
id: filterPopup
FilterPopup { }
}
2022-11-15 11:38:28 +01:00
}
2022-11-26 18:01:11 +01:00
SendTransactionsTab {
2022-11-15 11:38:28 +01:00
anchors.fill: parent
}
ReceiveTab {
2022-11-15 11:38:28 +01:00
anchors.fill: parent
anchors.leftMargin: 10
anchors.rightMargin: 10
2022-11-15 11:38:28 +01:00
}
2024-10-22 00:03:58 +02:00
// only visible on AccountHistory for now.
onFilterIconClicked: popupOverlay.open(filterPopup, null)
2022-11-15 11:38:28 +01:00
}