Changeset View
Changeset View
Standalone View
Standalone View
plasmoid/contents/ui/Disclaimer.qml
Property | Old Value | New Value |
---|---|---|
File Mode | 100755 | 100644 |
Show All 19 Lines | |||||
20 | import QtQuick 2.9 | 20 | import QtQuick 2.9 | ||
21 | import org.kde.plasma.core 2.0 as PlasmaCore | 21 | import org.kde.plasma.core 2.0 as PlasmaCore | ||
22 | import org.kde.plasma.components 2.0 as PlasmaComponents | 22 | import org.kde.plasma.components 2.0 as PlasmaComponents | ||
23 | import org.kde.plasma.extras 2.0 as PlasmaExtras | 23 | import org.kde.plasma.extras 2.0 as PlasmaExtras | ||
24 | 24 | | |||
25 | Item { | 25 | Item { | ||
26 | anchors.fill: parent | 26 | anchors.fill: parent | ||
27 | 27 | | |||
28 | Rectangle{ | ||||
29 | id: disclaimerHeadingBg | ||||
30 | color: theme.linkColor | ||||
31 | anchors.left: parent.left | ||||
32 | anchors.top: parent.top | ||||
33 | anchors.right: parent.right | ||||
34 | height: units.gridUnit * 3 | ||||
35 | | ||||
28 | Text { | 36 | Text { | ||
29 | id: disclaimerHeading1 | 37 | id: disclaimerHeading1 | ||
30 | width: 0 | | |||
31 | height: 28 | 38 | height: 28 | ||
32 | text: "Let's Continue ?" | 39 | text: "Let's Continue ?" | ||
33 | font.pointSize: 24 | 40 | font.pointSize: 24 | ||
34 | elide: Text.ElideLeft | 41 | elide: Text.ElideLeft | ||
35 | font.family: "Verdana" | 42 | font.family: "Verdana" | ||
36 | wrapMode: Text.WrapAnywhere | 43 | wrapMode: Text.WrapAnywhere | ||
37 | font.bold: true | 44 | font.bold: true | ||
38 | renderType: Text.QtRendering | 45 | renderType: Text.QtRendering | ||
39 | horizontalAlignment: Text.AlignHCenter | 46 | anchors.horizontalCenter: parent.horizontalCenter | ||
40 | anchors.right: parent.right | 47 | anchors.top: parent.top | ||
41 | anchors.rightMargin: 0 | 48 | anchors.topMargin: units.gridUnit * 0.5 | ||
42 | anchors.left: parent.left | 49 | color: theme.backgroundColor | ||
43 | anchors.leftMargin: 0 | 50 | } | ||
44 | color: "steelblue" | | |||
45 | } | 51 | } | ||
46 | 52 | | |||
47 | 53 | | |||
48 | Text { | 54 | Text { | ||
49 | id: disclaimerBody1 | 55 | id: disclaimerBody1 | ||
50 | height: contentHeight | 56 | height: contentHeight | ||
51 | text: "Mycroft by default is powered by a cloud-based speech to text service. Mycroft gives you the ability to change speech to text services or use a locally configured one within their settings at home.mycroft.ai. If you agree to the default usage of Mycroft’s speech to text service, please continue. Also remember you can always choose to turn off or mute Mycroft when you do not wish to use it." | 57 | text: "Mycroft by default is powered by a cloud-based speech to text service. Mycroft gives you the ability to change speech to text services or use a locally configured one within their settings at home.mycroft.ai. If you agree to the default usage of Mycroft’s speech to text service, please continue. Also remember you can always choose to turn off or mute Mycroft when you do not wish to use it." | ||
52 | font.pointSize: 10 | 58 | font.pointSize: 10 | ||
53 | font.family: "Verdana" | 59 | font.family: "Verdana" | ||
54 | wrapMode: Text.Wrap | 60 | wrapMode: Text.Wrap | ||
55 | renderType: Text.QtRendering | 61 | renderType: Text.QtRendering | ||
56 | horizontalAlignment: Text.AlignHCenter | 62 | horizontalAlignment: Text.AlignHCenter | ||
57 | anchors.top: disclaimerHeading1.bottom | 63 | anchors.top: disclaimerHeadingBg.bottom | ||
58 | anchors.topMargin: 18 | 64 | anchors.topMargin: 18 | ||
59 | anchors.right: parent.right | 65 | anchors.right: parent.right | ||
60 | anchors.rightMargin: 5 | 66 | anchors.rightMargin: 5 | ||
61 | anchors.left: parent.left | 67 | anchors.left: parent.left | ||
62 | anchors.leftMargin: 5 | 68 | anchors.leftMargin: 5 | ||
63 | color: theme.textColor | 69 | color: theme.textColor | ||
64 | } | 70 | } | ||
65 | 71 | | |||
66 | Rectangle { | 72 | Item { | ||
67 | id: noticemsg | 73 | id: noticemsg | ||
68 | anchors.top: disclaimerBody1.bottom | 74 | anchors.top: disclaimerBody1.bottom | ||
69 | anchors.topMargin: 20 | 75 | anchors.topMargin: 20 | ||
70 | anchors.right: parent.right | 76 | anchors.right: parent.right | ||
71 | anchors.left: parent.left | 77 | anchors.left: parent.left | ||
72 | color: theme.backgroundColor | | |||
73 | height: disclaimerBody2.contentHeight | 78 | height: disclaimerBody2.contentHeight | ||
74 | 79 | | |||
75 | Text { | 80 | Text { | ||
76 | id: disclaimerBody2 | 81 | id: disclaimerBody2 | ||
77 | height: contentHeight | 82 | height: contentHeight | ||
78 | text: "To start using Mycroft toggle the switch in the upper right corner!" | 83 | text: "To start using Mycroft toggle the switch in the upper right corner!" | ||
79 | font.italic: true | 84 | font.italic: true | ||
80 | font.pointSize: 10 | 85 | font.pointSize: 10 | ||
Show All 12 Lines |