Warning, /plasma-bigscreen/mycroft-bigscreen-setup/ui/pairing_done.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: hey
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: 70
0043 visible: !content.visible
0044 color: "#22a7f0"
0045 text: "Hey Mycroft"
0046 }
0047 Kirigami.Heading {
0048 id: example1
0049 Layout.fillWidth: true
0050 Layout.alignment: Qt.AlignLeft
0051 horizontalAlignment: Text.AlignHCenter
0052 wrapMode: Text.WordWrap
0053 elide: Text.ElideRight
0054 font.family: "Noto Sans"
0055 font.bold: true
0056 font.weight: Font.Bold
0057 font.pixelSize: 55
0058 visible: !content.visible
0059 text: "What's the\nweather?"
0060 }
0061 Kirigami.Heading {
0062 id: example2
0063 Layout.fillWidth: true
0064 Layout.alignment: Qt.AlignLeft
0065 horizontalAlignment: Text.AlignHCenter
0066 wrapMode: Text.WordWrap
0067 elide: Text.ElideRight
0068 font.family: "Noto Sans"
0069 font.bold: true
0070 font.weight: Font.Bold
0071 font.pixelSize: 55
0072 visible: !content.visible
0073 text: "Tell me about\nAbraham Lincoln"
0074 }
0075 Kirigami.Heading {
0076 id: example3
0077 Layout.fillWidth: true
0078 Layout.alignment: Qt.AlignLeft
0079 horizontalAlignment: Text.AlignHCenter
0080 wrapMode: Text.WordWrap
0081 elide: Text.ElideRight
0082 font.family: "Noto Sans"
0083 font.bold: true
0084 font.weight: Font.Bold
0085 font.pixelSize: 55
0086 visible: !content.visible
0087 text: "Play the News"
0088 }
0089 }
0090 }