21
21
import GSettings 1.0
23
23
import SystemSettings 1.0
24
import SystemSettings.ListItems 1.0 as SettingsListItems
24
25
import Ubuntu.Components 1.3
25
import Ubuntu.Components.ListItems 1.3 as ListItem
26
26
import Ubuntu.Components.Popups 1.3
27
27
import Ubuntu.SystemSettings.Reset 1.0
66
66
anchors.left: parent.left
67
67
anchors.right: parent.right
69
ListItem.SingleControl {
75
text: i18n.tr("Reset Launcher")
76
color: UbuntuColors.orange
78
verticalAlignment: Text.AlignVCenter
81
SettingsListItems.Standard {
71
84
id: resetLauncherHomeButton
72
85
objectName: "resetLauncher"
73
86
text: i18n.tr("Reset Launcher")
74
width: parent.width - units.gu(4)
76
88
buttonActions.source = "ResetLauncherHome.qml";
77
89
root.popup = PopupUtils.open(buttonActions.item);
83
ListItem.SingleControl {
84
visible: false // enabled when backend is ready/useful
101
text: i18n.tr("Reset all system settings…")
102
color: UbuntuColors.orange
104
verticalAlignment: Text.AlignVCenter
107
SettingsListItems.Standard {
86
111
id: resetAllSettingsButton
87
112
text: i18n.tr("Reset all system settings…")
88
width: parent.width - units.gu(4)
90
114
buttonActions.source = "ResetAllSettings.qml";
91
115
root.popup = PopupUtils.open(buttonActions.item);
97
ListItem.SingleControl {
126
text: i18n.tr("Erase & Reset All")
127
color: UbuntuColors.orange
129
verticalAlignment: Text.AlignVCenter
132
SettingsListItems.Standard {
99
135
id: eraseEverythingButton
100
136
objectName: "factoryReset"
101
text: i18n.tr("Erase & Reset Everything…")
102
width: parent.width - units.gu(4)
138
text: i18n.tr("Erase & Reset All")
104
140
buttonActions.source = "EraseEverything.qml";
105
141
root.popup = PopupUtils.open(buttonActions.item);