Warning, /plasma-bigscreen/youtube-voice-application/ui/+mediacenter/YoutubeLogo.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 0012 onLoadingStatusChanged: { 0013 loadingStatusArea.text = "Loading: " + loadingStatus 0014 } 0015 0016 Control { 0017 id: statusArea 0018 anchors.fill: parent 0019 0020 background: Image { 0021 source: "./youtube-logo-page.jpg" 0022 } 0023 0024 contentItem: Item { 0025 AnimatedImage { 0026 id: busyIndicatorComponent 0027 anchors.bottom: parent.bottom 0028 anchors.bottomMargin: statusArea.height / 6 0029 anchors.horizontalCenter: parent.horizontalCenter 0030 anchors.horizontalCenterOffset: -Kirigami.Units.gridUnit * 6 0031 width: Kirigami.Units.iconSizes.smallMedium 0032 height: Kirigami.Units.iconSizes.smallMedium 0033 playing: true 0034 source: "./images/spinner.gif" 0035 } 0036 0037 Kirigami.Heading { 0038 id: loadingStatusArea 0039 anchors.left: busyIndicatorComponent.right 0040 anchors.leftMargin: Kirigami.Units.largeSpacing 0041 anchors.verticalCenter: busyIndicatorComponent.verticalCenter 0042 level: 2 0043 text: "Loading..." 0044 } 0045 } 0046 } 0047 }