Warning, /plasma-bigscreen/youtube-voice-application/ui/YoutubeLogo.qml is written in an unsupported language. File is not indexed.
0001 import QtQuick 2.4 0002 import QtQuick.Controls 2.0 0003 import QtQuick.Layouts 1.3 0004 import org.kde.kirigami 2.4 as Kirigami 0005 import Mycroft 1.0 as Mycroft 0006 0007 Mycroft.Delegate { 0008 id: logoLoadingPage 0009 property string loadingStatus: sessionData.loadingStatus 0010 0011 onLoadingStatusChanged: { 0012 loadingStatusArea.text = "Loading: " + loadingStatus 0013 } 0014 0015 Control { 0016 id: statusArea 0017 anchors.fill: parent 0018 0019 background: Image { 0020 source: "./youtube-logo-page.jpg" 0021 } 0022 0023 contentItem: Item { 0024 AnimatedImage { 0025 id: busyIndicatorComponent 0026 anchors.bottom: parent.bottom 0027 anchors.bottomMargin: statusArea.height / 6 0028 anchors.horizontalCenter: parent.horizontalCenter 0029 anchors.horizontalCenterOffset: -Kirigami.Units.gridUnit * 6 0030 width: Kirigami.Units.iconSizes.smallMedium 0031 height: Kirigami.Units.iconSizes.smallMedium 0032 playing: true 0033 source: "./images/spinner.gif" 0034 } 0035 0036 Kirigami.Heading { 0037 id: loadingStatusArea 0038 anchors.left: busyIndicatorComponent.right 0039 anchors.leftMargin: Kirigami.Units.largeSpacing 0040 anchors.verticalCenter: busyIndicatorComponent.verticalCenter 0041 level: 2 0042 text: "Loading..." 0043 } 0044 } 0045 } 0046 }