Unity 8
60-reporting.qml
1 /*
2  * Copyright (C) 2013,2014 Canonical, Ltd.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; version 3.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 import QtQuick 2.0
18 import Ubuntu.Components 0.1
19 import ".." as LocalComponents
20 
21 LocalComponents.Page {
22  objectName: "reportingPage"
23 
24  title: i18n.tr("Improving your experience")
25  forwardButtonSourceComponent: forwardButton
26 
27  Column {
28  id: column
29  anchors.fill: content
30  spacing: units.gu(2)
31 
32  Label {
33  anchors.left: parent.left
34  anchors.right: parent.right
35  wrapMode: Text.Wrap
36  text: i18n.tr("Your phone is set up to automatically report errors to Canonical and its partners, the makers of the operating system.")
37  }
38 
39  Label {
40  anchors.left: parent.left
41  anchors.right: parent.right
42  wrapMode: Text.Wrap
43  text: i18n.tr("This can be disabled in <b>System Settings</b> under <b>Security &amp; Privacy</b>")
44  }
45  }
46 
47  Component {
48  id: forwardButton
49  LocalComponents.StackButton {
50  text: i18n.tr("Continue")
51  onClicked: pageStack.next()
52  }
53  }
54 }