~lukas-kde/unity8/dashboard

« back to all changes in this revision

Viewing changes to qml/Components/ModeSwitchWarningDialog.qml

  • Committer: Lukáš Tinkl
  • Date: 2017-01-26 12:13:17 UTC
  • mfrom: (2749.1.49 unity8)
  • Revision ID: lukas.tinkl@canonical.com-20170126121317-qms39s9pikclidbe
merge trunk, fix conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2015 Canonical, Ltd.
 
2
 * Copyright (C) 2015-2017 Canonical, Ltd.
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
5
5
 * it under the terms of the GNU General Public License as published by
29
29
    signal forceClose();
30
30
 
31
31
    Label {
 
32
        width: parent.width
32
33
        text: i18n.tr("Apps may have unsaved data:")
33
34
        fontSize: "large"
34
35
        color: "#5D5D5D"
37
38
    Repeater {
38
39
        id: appRepeater
39
40
        RowLayout {
 
41
            width: parent.width
40
42
            spacing: units.gu(2)
41
43
            Image {
42
44
                Layout.preferredHeight: units.gu(2)
54
56
    }
55
57
 
56
58
    Label {
 
59
        width: parent.width
57
60
        text: i18n.ctr("Re-dock means connect the device again to an external screen/mouse/keyboard", "Re-dock, save your work and close these apps to continue.")
58
61
        wrapMode: Text.WordWrap
59
62
        color: "#888888"
60
63
    }
61
64
 
62
65
    Label {
 
66
        width: parent.width
63
67
        text: i18n.tr("Or force close now (unsaved data will be lost).")
64
68
        wrapMode: Text.WordWrap
65
69
        color: "#888888"
66
70
    }
67
71
 
68
 
    ThinDivider {}
 
72
    ThinDivider { width: parent.width }
69
73
 
70
74
    RowLayout {
 
75
        width: parent.width
71
76
        Label {
72
77
            objectName: "reconnectLabel"
73
78
            Layout.fillWidth: true
84
89
        }
85
90
 
86
91
        Button {
 
92
            focus: true
87
93
            objectName: "forceCloseButton"
88
94
            text: i18n.tr("Close all")
89
95
            color: theme.palette.normal.negative