2022-11-17 23:07:15 +01:00
|
|
|
/*
|
|
|
|
|
* This file is part of the Flowee project
|
|
|
|
|
* Copyright (C) 2022 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
|
2026-02-11 20:24:41 +01:00
|
|
|
import "../Flowee" as Flowee
|
2022-11-17 23:07:15 +01:00
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
|
color: "#0b1088"
|
|
|
|
|
width: parent.width
|
|
|
|
|
height: parent.height
|
2022-11-23 10:35:31 +01:00
|
|
|
function takeFocus() {
|
|
|
|
|
// method called from main.qml
|
|
|
|
|
// We don't need focus, though. Empty method.
|
|
|
|
|
}
|
2022-11-17 23:07:15 +01:00
|
|
|
|
|
|
|
|
Image {
|
|
|
|
|
source: "qrc:/FloweePay-light.svg"
|
|
|
|
|
// ratio: 449 / 77
|
|
|
|
|
width: parent.width / 10 * 8
|
|
|
|
|
height: width / 449 * 77
|
2026-02-11 20:24:41 +01:00
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
|
y: parent.height / 4
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Flowee.Label {
|
|
|
|
|
text: qsTr("Waiting for background task to finish")
|
|
|
|
|
wrapMode: Text.Wrap
|
|
|
|
|
width: parent.width
|
|
|
|
|
horizontalAlignment: Text.AlignHCenter
|
|
|
|
|
visible: waitingForLock
|
|
|
|
|
y: parent.height / 2
|
|
|
|
|
font.bold: true
|
|
|
|
|
font.pixelSize: mainWindow.font.pixelSize * 1.6
|
2022-11-17 23:07:15 +01:00
|
|
|
}
|
|
|
|
|
}
|