Warning, /system/mycroft-gui/containments/mark2/package/contents/ui/networking/Fail.qml is written in an unsupported language. File is not indexed.

0001 /*
0002  * Copyright 2018 by Aditya Mehra <aix.m@outlook.com>
0003  *
0004  * Licensed under the Apache License, Version 2.0 (the "License");
0005  * you may not use this file except in compliance with the License.
0006  * You may obtain a copy of the License at
0007  *
0008  *    http://www.apache.org/licenses/LICENSE-2.0
0009  *
0010  * Unless required by applicable law or agreed to in writing, software
0011  * distributed under the License is distributed on an "AS IS" BASIS,
0012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013  * See the License for the specific language governing permissions and
0014  * limitations under the License.
0015  *
0016  */
0017 
0018 import QtQuick.Layouts 1.4
0019 import QtQuick 2.4
0020 import QtQuick.Controls 2.0
0021 import org.kde.kirigami 2.5 as Kirigami
0022 import org.kde.plasma.networkmanagement 0.2 as PlasmaNM
0023 import org.kde.lottie 1.0
0024 
0025 
0026 Item {
0027     id: failView
0028     anchors.fill: parent
0029     
0030     ColumnLayout {
0031         anchors.fill: parent
0032         LottieAnimation {
0033             id: failAnimation
0034             Layout.fillWidth: true
0035             Layout.fillHeight: true
0036             source: Qt.resolvedUrl("Animations/fail.json")
0037             loops: 0
0038             fillMode: Image.PreserveAspectFit
0039             running: true
0040             
0041             onRunningChanged: {
0042                 if(failAnimation.status == 1){
0043                     networkingLoader.source = "../networking/SelectNetwork.qml"
0044                 }
0045             }
0046         }    
0047     }
0048 }