Warning, /plasma-bigscreen/mycroft-bigscreen-setup/ui/pairing_start.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.4 as Kirigami 0022 0023 import Mycroft 1.0 as Mycroft 0024 0025 Mycroft.Delegate { 0026 id: root 0027 property var code: sessionData.code 0028 0029 ColumnLayout { 0030 anchors.fill: parent 0031 0032 Kirigami.Heading { 0033 id: sentence 0034 Layout.fillWidth: true 0035 Layout.alignment: Qt.AlignLeft 0036 horizontalAlignment: Text.AlignHCenter 0037 wrapMode: Text.WordWrap 0038 elide: Text.ElideRight 0039 font.family: "Noto Sans" 0040 font.bold: true 0041 font.weight: Font.Bold 0042 font.pixelSize: 40 0043 visible: !content.visible 0044 text: "I'm connected\nand need to be\nactivated, go to" 0045 } 0046 Kirigami.Heading { 0047 id: example1 0048 Layout.fillWidth: true 0049 Layout.alignment: Qt.AlignLeft 0050 horizontalAlignment: Text.AlignHCenter 0051 wrapMode: Text.WordWrap 0052 elide: Text.ElideRight 0053 font.family: "Noto Sans" 0054 font.bold: true 0055 font.weight: Font.Bold 0056 font.pixelSize: 40 0057 visible: !content.visible 0058 color: "#22a7f0" 0059 text: "home.mycroft.ai" 0060 } 0061 Image { 0062 id: img 0063 source: Qt.resolvedUrl("phone.png") 0064 Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom 0065 } 0066 } 0067 }