| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- import QtQuick 2.15
- import QtQuick.Controls 2.15
- Window {
- id: waitpromptbox
- visibility: Window.FullScreen;
- flags: Qt.Dialog | Qt.WindowStaysOnTopHint | Qt.FramelessWindowHint
- modality: Qt.ApplicationModal
- color: "transparent"
- Rectangle {
- anchors.centerIn: parent
- width: 360
- height: 360
- color: "#980e57ea"
- radius: 16
- BusyIndicator {
- anchors.top: parent.top
- anchors.topMargin: 32
- anchors.horizontalCenter: parent.horizontalCenter
- width: 200
- height: 200
- running: loadingBox.visible
- }
- Text {
- anchors.bottom: parent.bottom
- anchors.bottomMargin: 32
- anchors.horizontalCenter: parent.horizontalCenter
- text: "请等待..."
- color: "#ffffff"
- font.pixelSize: 32
- font.bold: true
- }
- }
- function show()
- {
- visible = true;
- }
- function hide()
- {
- visible = false;
- }
- }
|