Warning, /plasma-bigscreen/peertube-voice-application/ui/+mediacenter/PeerTubeLoading.qml is written in an unsupported language. File is not indexed.

0001 import QtQuick 2.9
0002 import QtQuick.Controls 2.3
0003 import QtQuick.Layouts 1.3
0004 import org.kde.kirigami 2.11 as Kirigami
0005 import org.kde.plasma.components 3.0 as PlasmaComponents
0006 import Mycroft 1.0 as Mycroft
0007 
0008 Mycroft.Delegate {
0009     id: logoLoadingPage
0010     property string loadingStatus: sessionData.loadingStatus
0011     topPadding: 0
0012     bottomPadding: 0
0013     leftPadding: 0
0014     rightPadding: 0
0015     
0016     onLoadingStatusChanged: {
0017         loadingStatusArea.text = "Loading: " + loadingStatus
0018     }
0019 
0020     Control {
0021         id: statusArea
0022         anchors.fill: parent
0023         
0024         background: Image {
0025             source: "./images/loading-bg.jpg"
0026             
0027             Image {
0028                 source: "./images/pt-logo.png"
0029                 anchors.top: parent.top
0030                 anchors.topMargin: Kirigami.Units.gridUnit * 3
0031                 anchors.horizontalCenter: parent.horizontalCenter
0032             }
0033         }
0034         
0035         contentItem: Item {
0036             ProgressBar {
0037                 anchors.bottom: parent.bottom
0038                 anchors.left: parent.left
0039                 anchors.right: parent.right
0040                 anchors.margins: Kirigami.Units.gridUnit
0041                 height: Kirigami.Units.gridUnit * 2
0042                 indeterminate: true
0043                 
0044                 background: Rectangle {
0045                     color: Qt.rgba(0, 0, 0, 0.7)
0046                     radius: 3
0047                 }
0048             }
0049         }
0050     }
0051 }