Merge lp:~jonas-drange/ubuntu-system-settings/titles-uis-tweaks-2 into lp:ubuntu-system-settings

Proposed by Jonas G. Drange
Status: Merged
Approved by: Jonas G. Drange
Approved revision: 1179
Merged at revision: 1198
Proposed branch: lp:~jonas-drange/ubuntu-system-settings/titles-uis-tweaks-2
Merge into: lp:ubuntu-system-settings
Prerequisite: lp:~ken-vandine/ubuntu-system-settings/lp1390629
Diff against target: 230 lines (+24/-26)
9 files modified
plugins/cellular/Components/DataMultiSim.qml (+3/-1)
plugins/cellular/Components/DefaultSim.qml (+5/-2)
plugins/cellular/Components/MultiSim.qml (+3/-1)
plugins/cellular/Components/RadioSingleSim.qml (+3/-1)
plugins/cellular/Components/SimEditor.qml (+2/-4)
plugins/cellular/Components/SingleSim.qml (+1/-0)
plugins/cellular/PageChooseCarrier.qml (+2/-1)
plugins/cellular/PageChooseCarriers.qml (+2/-10)
plugins/phone/MultiSim.qml (+3/-6)
To merge this branch: bzr merge lp:~jonas-drange/ubuntu-system-settings/titles-uis-tweaks-2
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing
Jonas G. Drange (community) Approve
Sebastien Bacher Pending
Review via email: mp+241539@code.launchpad.net

This proposal supersedes a proposal from 2014-10-31.

Commit message

[cellular][phone] titles now using SettingsItemTitle

Description of the change

[cellular][phone] titles now using SettingsItemTitle

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote : Posted in a previous version of this proposal

Thanks, that looks mostly fine. Do we have a design for the SIM rename screen? Not sure if that one is supposed to be a title (I only have 1 SIM so I can't even look at the screen here)

review: Needs Information
Revision history for this message
Jonas G. Drange (jonas-drange) wrote : Posted in a previous version of this proposal

@seb128, the design has not made it into the spec, but it is supposed to be a title.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote : Posted in a previous version of this proposal

Looks fine to me, thanks

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Jonas G. Drange (jonas-drange) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/cellular/Components/DataMultiSim.qml'
2--- plugins/cellular/Components/DataMultiSim.qml 2014-11-04 12:08:12 +0000
3+++ plugins/cellular/Components/DataMultiSim.qml 2014-11-12 11:43:26 +0000
4@@ -18,6 +18,7 @@
5 *
6 */
7 import QtQuick 2.0
8+import SystemSettings 1.0
9 import Ubuntu.Components 0.1
10 import Ubuntu.Components.ListItems 0.1 as ListItem
11
12@@ -33,10 +34,11 @@
13
14 height: childrenRect.height
15
16+ SettingsItemTitle { text: i18n.tr("Cellular data:") }
17+
18 ListItem.ItemSelector {
19 id: use
20 objectName: "data"
21- text: i18n.tr("Cellular data:")
22 expanded: true
23 model: {
24 // create a model of 'off' and all sim paths
25
26=== modified file 'plugins/cellular/Components/DefaultSim.qml'
27--- plugins/cellular/Components/DefaultSim.qml 2014-09-24 14:46:26 +0000
28+++ plugins/cellular/Components/DefaultSim.qml 2014-11-12 11:43:26 +0000
29@@ -18,6 +18,7 @@
30 *
31 */
32 import QtQuick 2.0
33+import SystemSettings 1.0
34 import Ubuntu.Components 0.1
35 import Ubuntu.Components.ListItems 0.1 as ListItem
36
37@@ -31,9 +32,10 @@
38 return [i18n.tr("Ask me each time"), sims[0].title, sims[1].title][index];
39 }
40
41+ SettingsItemTitle { text: i18n.tr("For outgoing calls, use:") }
42+
43 ListItem.ItemSelector {
44 id: callsDefaultSim
45- text: i18n.tr("For outgoing calls, use:")
46 expanded: true
47 model: m
48 delegate: OptionSelectorDelegate {
49@@ -52,9 +54,10 @@
50
51 ListItem.Divider {}
52
53+ SettingsItemTitle { text: i18n.tr("For messages, use:") }
54+
55 ListItem.ItemSelector {
56 id: messagesDefaultSim
57- text: i18n.tr("For messages, use:")
58 expanded: true
59 model: m
60 delegate: OptionSelectorDelegate {
61
62=== modified file 'plugins/cellular/Components/MultiSim.qml'
63--- plugins/cellular/Components/MultiSim.qml 2014-10-23 12:30:27 +0000
64+++ plugins/cellular/Components/MultiSim.qml 2014-11-12 11:43:26 +0000
65@@ -19,6 +19,7 @@
66 */
67 import QtQuick 2.0
68 import GSettings 1.0
69+import SystemSettings 1.0
70 import Ubuntu.Components 0.1
71 import Ubuntu.Components.ListItems 0.1 as ListItem
72
73@@ -102,10 +103,11 @@
74 }[tech]
75 }
76
77+ SettingsItemTitle { text: i18n.tr("Connection type:") }
78+
79 ListItem.ItemSelector {
80 id: radio
81 expanded: true
82- text: i18n.tr("Connection type:")
83 model: poweredSim ? poweredSim.radioSettings.modemTechnologies : []
84 delegate: OptionSelectorDelegate {
85 objectName: poweredSim.path + "_radio_" + modelData
86
87=== modified file 'plugins/cellular/Components/RadioSingleSim.qml'
88--- plugins/cellular/Components/RadioSingleSim.qml 2014-10-14 13:50:17 +0000
89+++ plugins/cellular/Components/RadioSingleSim.qml 2014-11-12 11:43:26 +0000
90@@ -18,6 +18,7 @@
91 *
92 */
93 import QtQuick 2.0
94+import SystemSettings 1.0
95 import Ubuntu.Components 0.1
96 import Ubuntu.Components.ListItems 0.1 as ListItem
97
98@@ -26,9 +27,10 @@
99
100 property alias selector: selector
101
102+ SettingsItemTitle { text: i18n.tr("Connection type:") }
103+
104 ListItem.ItemSelector {
105 id: selector
106- text: i18n.tr("Connection type:")
107 showDivider: false
108 expanded: true
109
110
111=== modified file 'plugins/cellular/Components/SimEditor.qml'
112--- plugins/cellular/Components/SimEditor.qml 2014-10-22 21:41:38 +0000
113+++ plugins/cellular/Components/SimEditor.qml 2014-11-12 11:43:26 +0000
114@@ -18,6 +18,7 @@
115 *
116 */
117 import QtQuick 2.0
118+import SystemSettings 1.0
119 import Ubuntu.Components 1.1
120 import Ubuntu.Components.ListItems 0.1 as ListItem
121
122@@ -84,10 +85,7 @@
123 nameField.forceActiveFocus();
124 }
125
126- ListItem.Standard {
127- id: std
128- text: i18n.tr("Edit SIM Name")
129- }
130+ SettingsItemTitle { text: i18n.tr("Edit SIM Name") }
131
132 ListItem.ExpandablesColumn {
133 anchors {
134
135=== modified file 'plugins/cellular/Components/SingleSim.qml'
136--- plugins/cellular/Components/SingleSim.qml 2014-11-05 19:59:25 +0000
137+++ plugins/cellular/Components/SingleSim.qml 2014-11-12 11:43:26 +0000
138@@ -18,6 +18,7 @@
139 *
140 */
141 import QtQuick 2.0
142+import SystemSettings 1.0
143 import Ubuntu.Components 0.1
144 import Ubuntu.Components.ListItems 0.1 as ListItem
145
146
147=== modified file 'plugins/cellular/PageChooseCarrier.qml'
148--- plugins/cellular/PageChooseCarrier.qml 2014-10-14 13:54:10 +0000
149+++ plugins/cellular/PageChooseCarrier.qml 2014-11-12 11:43:26 +0000
150@@ -147,12 +147,13 @@
151 right: parent.right
152 }
153
154+ SettingsItemTitle { text: i18n.tr("Choose carrier:") }
155+
156 ListItem.ItemSelector {
157 id: chooseCarrier
158 objectName: "mode"
159 expanded: true
160 enabled: sim.netReg.mode !== "auto-only"
161- text: i18n.tr("Choose carrier:")
162 model: [i18n.tr("Automatically"), i18n.tr("Manually")]
163
164 delegate: OptionSelectorDelegate { showDivider: false }
165
166=== modified file 'plugins/cellular/PageChooseCarriers.qml'
167--- plugins/cellular/PageChooseCarriers.qml 2014-10-14 13:54:10 +0000
168+++ plugins/cellular/PageChooseCarriers.qml 2014-11-12 11:43:26 +0000
169@@ -40,12 +40,8 @@
170 anchors.right: parent.right
171
172 ListItem.Standard {
173- text: sims[0].title
174- }
175-
176- ListItem.SingleValue {
177 objectName: sims[0].path + "_carriers"
178- value: sims[0].netReg.name ? sims[0].netReg.name : i18n.tr("N/A")
179+ text: sims[0].netReg.name ? sims[0].netReg.name : i18n.tr("N/A")
180 enabled: sims[0].netReg.status !== ""
181 progression: true
182 onClicked: {
183@@ -57,12 +53,8 @@
184 }
185
186 ListItem.Standard {
187- text: sims[1].title
188- }
189-
190- ListItem.SingleValue {
191 objectName: sims[1].path + "_carriers"
192- value: sims[1].netReg.name ? sims[1].netReg.name : i18n.tr("N/A")
193+ text: sims[1].netReg.name ? sims[1].netReg.name : i18n.tr("N/A")
194 enabled: sims[1].netReg.status !== ""
195 progression: true
196 onClicked: {
197
198=== modified file 'plugins/phone/MultiSim.qml'
199--- plugins/phone/MultiSim.qml 2014-08-19 15:59:18 +0000
200+++ plugins/phone/MultiSim.qml 2014-11-12 11:43:26 +0000
201@@ -20,6 +20,7 @@
202 */
203 import QtQuick 2.0
204 import GSettings 1.0
205+import SystemSettings 1.0
206 import Ubuntu.Components 1.1
207 import Ubuntu.Components.ListItems 0.1 as ListItem
208
209@@ -27,9 +28,7 @@
210
211 property var sims
212
213- ListItem.Standard {
214- text: sims[0].title
215- }
216+ SettingsItemTitle { text: sims[0].title }
217
218 ListItem.Standard {
219 objectName: "callFwdSim1"
220@@ -65,9 +64,7 @@
221
222 ListItem.Divider {}
223
224- ListItem.Standard {
225- text: sims[1].title
226- }
227+ SettingsItemTitle { text: sims[1].title }
228
229 ListItem.Standard {
230 objectName: "callFwdSim2"

Subscribers

People subscribed via source and target branches