import QtQuick 2.13 import QtQuick.Controls 2.13 import QtGraphicalEffects 1.0 ApplicationWindow { id: appwindow width: 600 height: 600 minimumHeight: 200 minimumWidth: 200 flags: Qt.FramelessWindowHint | Qt.WA_TranslucentBackground visible: true color: "#00000000" Component.onCompleted: HP.start(appwindow); function end() { scaler.start(); } function settexts(titletext, subtext){ titletext1 = titletext; subtext1 = subtext; } property alias titletext1: titletext.text property alias subtext1: subtext.text title: "HonorarPlus Startvorgang..." Timer { id:close_if_failure interval: 60000 running: true onTriggered: scaler.start(); } Timer { //For testing loading animation id:load_animation interval: 3000 running: false onTriggered: scaler.start(); } Item { id: canvas anchors.fill: parent BusyIndicator { id: busyIndicator running: true anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter z: 1 anchors.fill: parent Text { id: titletext text: qsTr("HonorarPlus") font.pointSize: 50 style: Text.Raised fontSizeMode: Text.Fit anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter color: "#E91E63" } Text { id: subtext color: "#e91e63" text: qsTr("Ein Produkt der SITS UG (haftungsbeschränkt) © 2019") anchors.verticalCenterOffset: 58 anchors.horizontalCenterOffset: 0 style: Text.Raised anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pointSize: 14 fontSizeMode: Text.Fit } } Glow { anchors.fill: busyIndicator radius: 10 samples: radius*2+1 color: "white" source: busyIndicator } ParallelAnimation { id: scaler running: false; OpacityAnimator { target: canvas from: 1 to: 0 duration: 850 } ScaleAnimator { target: canvas easing.type: Easing.InCirc from: 1 to: 0 duration: 1000 } onFinished: { appwindow.close(); } } } }