~osomon/ubuntu-system-settings/autopkgtest

« back to all changes in this revision

Viewing changes to wizard/qml/Pages/SetupCompletePage.qml

  • Committer: CI bot
  • Author(s): Michael Terry, Andrea Cimitan
  • Date: 2014-02-28 18:35:44 UTC
  • mfrom: (485.1.23 welcome-wizard)
  • Revision ID: ps-jenkins@lists.canonical.com-20140228183544-une3g5hx9s0ij1cu
Add disabled skeleton of a "Welcome to Ubuntu" wizard for first-time boot.  Will be enabled when it is more complete. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2013 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 "qrc:/qml/Components" as LocalComponents
 
20
 
 
21
LocalComponents.Page {
 
22
    title: i18n.tr("That’s it!")
 
23
    forwardButtonSourceComponent: forwardButton
 
24
 
 
25
    Item {
 
26
        id: content
 
27
        anchors {
 
28
            fill: parent
 
29
            topMargin: topMargin
 
30
            leftMargin: leftMargin
 
31
            rightMargin: rightMargin
 
32
            bottomMargin: bottomMargin
 
33
        }
 
34
 
 
35
        Label {
 
36
            width: parent.width
 
37
            wrapMode: Text.WordWrap
 
38
            fontSize: "large"
 
39
            text: i18n.tr("It’s great to have you in the Ubuntu Community.") +
 
40
                  "\n\n" +
 
41
                  i18n.tr("You’re now ready to enjoy your new phone.")
 
42
        }
 
43
    }
 
44
    Component {
 
45
        id: forwardButton
 
46
        Button {
 
47
            text: i18n.tr("Finish")
 
48
            onClicked: pageStack.push(Qt.resolvedUrl("SpinnerPage.qml"))
 
49
        }
 
50
    }
 
51
}