Merge lp:~kissiel/checkbox/ppa-packaging-touch2converged-trusty into lp:checkbox
- ppa-packaging-touch2converged-trusty
- Merge into trunk
Status: | Superseded |
---|---|
Proposed branch: | lp:~kissiel/checkbox/ppa-packaging-touch2converged-trusty |
Merge into: | lp:checkbox |
Diff against target: |
1537 lines (+1460/-0) 15 files modified
debian/changelog (+64/-0) debian/checkbox-converged.desktop (+8/-0) debian/clean (+2/-0) debian/compat (+1/-0) debian/control (+23/-0) debian/copyright (+21/-0) debian/install (+8/-0) debian/links (+3/-0) debian/patches/components_1.3_removal.diff (+1129/-0) debian/patches/series (+1/-0) debian/rules (+11/-0) debian/settings.json (+15/-0) debian/source/format (+1/-0) debian/tick.svg (+154/-0) debian/window-close.svg (+19/-0) |
To merge this branch: | bzr merge lp:~kissiel/checkbox/ppa-packaging-touch2converged-trusty |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Checkbox Developers | Pending | ||
Review via email: mp+307164@code.launchpad.net |
This proposal has been superseded by a proposal from 2016-09-29.
Commit message
Description of the change
This MR updates packaging with new Checkbox-Converged files layout (Trusty).
Unmerged revisions
- 22. By Maciej Kisielewski
-
use new file and dir names (converged instead of touch)
- 21. By Sylvain Pineau
-
debian/
patches/ components_ 1.3_removal. diff: Refresh And add components/
DialogMgr. qml to the patch - 20. By Pierre Equoy
-
"Release_
2016_Week30 [r=pierre- equoy][ bug=][author= checkbox- dev]" - 19. By Sylvain Pineau
-
debian/
patches/ components_ 1.3_removal. diff: Refresh - 18. By Sylvain Pineau
-
"Release_
2016_Week28 [r=sylvain- pineau] [bug=][ author= checkbox- dev]" - 17. By Sylvain Pineau
-
Revert the transition to ubuntu compoents 1.3 as a patch (making the package non native)
- 16. By Pierre Equoy
-
"Release_
2016_Week25 [r=pierre- equoy][ bug=][author= checkbox- dev]" - 15. By Pierre Equoy
-
Automatic merge
- 14. By Pierre Equoy
-
"automatic merge of lp:~pierre-equoy/checkbox/ppa-packaging-checkbox-converged-trusty_fix-1563763/ by tarmac [r=sylvain-pineau][bug=1563763][author=
pierre- equoy]" - 13. By Pierre Equoy
-
"Release_
2016_Week12 [r=pierre- equoy][ bug=][author= checkbox- dev]"
Preview Diff
1 | === added directory 'debian' | |||
2 | === added file 'debian/changelog' | |||
3 | --- debian/changelog 1970-01-01 00:00:00 +0000 | |||
4 | +++ debian/changelog 2016-09-29 12:03:24 +0000 | |||
5 | @@ -0,0 +1,64 @@ | |||
6 | 1 | checkbox-converged (1.5) UNRELEASED; urgency=medium | ||
7 | 2 | |||
8 | 3 | * Open for development (remove this message before releasing) | ||
9 | 4 | |||
10 | 5 | -- Pierre Equoy <pierre.equoy@canonical.com> Mon, 25 Jul 2016 10:57:42 +0800 | ||
11 | 6 | |||
12 | 7 | checkbox-converged (1.4.1) unstable; urgency=medium | ||
13 | 8 | |||
14 | 9 | [ Sylvain Pineau ] | ||
15 | 10 | |||
16 | 11 | [ Pierre Equoy ] | ||
17 | 12 | * New upstream release | ||
18 | 13 | |||
19 | 14 | -- Pierre Equoy <pierre.equoy@canonical.com> Mon, 25 Jul 2016 10:57:31 +0800 | ||
20 | 15 | |||
21 | 16 | checkbox-converged (1.4) unstable; urgency=medium | ||
22 | 17 | |||
23 | 18 | [ Pierre Equoy ] | ||
24 | 19 | |||
25 | 20 | [ Sylvain Pineau ] | ||
26 | 21 | * New upstream release | ||
27 | 22 | |||
28 | 23 | -- Sylvain Pineau <sylvain.pineau@canonical.com> Tue, 12 Jul 2016 23:06:00 +0200 | ||
29 | 24 | |||
30 | 25 | checkbox-converged (1.3) unstable; urgency=medium | ||
31 | 26 | |||
32 | 27 | * New upstream release | ||
33 | 28 | |||
34 | 29 | -- Pierre Equoy <pierre.equoy@canonical.com> Mon, 20 Jun 2016 10:02:10 +0800 | ||
35 | 30 | |||
36 | 31 | checkbox-converged (1.2.6) unstable; urgency=medium | ||
37 | 32 | |||
38 | 33 | * Update dependencies minimum version to avoid issues in Xenial (Fix lp:1563763) | ||
39 | 34 | * New upstream release | ||
40 | 35 | |||
41 | 36 | -- Pierre Equoy <pierre.equoy@canonical.com> Tue, 19 Apr 2016 14:13:08 +0800 | ||
42 | 37 | |||
43 | 38 | checkbox-converged (1.2.5) unstable; urgency=medium | ||
44 | 39 | |||
45 | 40 | * New upstream release | ||
46 | 41 | |||
47 | 42 | -- Pierre Equoy <pierre.equoy@canonical.com> Mon, 21 Mar 2016 11:13:29 +0800 | ||
48 | 43 | |||
49 | 44 | checkbox-converged (1.2.4) unstable; urgency=medium | ||
50 | 45 | |||
51 | 46 | [ Sylvain Pineau ] | ||
52 | 47 | |||
53 | 48 | [ Pierre Equoy ] | ||
54 | 49 | * New upstream release | ||
55 | 50 | |||
56 | 51 | -- Pierre Equoy <pierre.equoy@canonical.com> Tue, 15 Dec 2015 10:28:28 +0800 | ||
57 | 52 | |||
58 | 53 | checkbox-converged (1.2.3) unstable; urgency=medium | ||
59 | 54 | |||
60 | 55 | * New upstream release | ||
61 | 56 | |||
62 | 57 | -- Sylvain Pineau <sylvain.pineau@canonical.com> Mon, 16 Nov 2015 21:13:12 +0100 | ||
63 | 58 | |||
64 | 59 | checkbox-converged (1.2.0-2~ppa3) trusty; urgency=medium | ||
65 | 60 | |||
66 | 61 | * Initial trusty release. | ||
67 | 62 | |||
68 | 63 | -- Sylvain Pineau <sylvain.pineau@canonical.com> Thu, 23 Jul 2015 18:45:28 +0200 | ||
69 | 64 | |||
70 | 0 | 65 | ||
71 | === added file 'debian/checkbox-converged.desktop' | |||
72 | --- debian/checkbox-converged.desktop 1970-01-01 00:00:00 +0000 | |||
73 | +++ debian/checkbox-converged.desktop 2016-09-29 12:03:24 +0000 | |||
74 | @@ -0,0 +1,8 @@ | |||
75 | 1 | [Desktop Entry] | ||
76 | 2 | Name=Checkbox Converged | ||
77 | 3 | Comment=System testing utility for Ubuntu | ||
78 | 4 | Exec=env LD_LIBRARY_PATH=/opt/qt-5.4/usr/lib/x86_64-linux-gnu qmlscene -qt=5.4 --settings=/usr/share/checkbox-converged/settings.json $@ /usr/share/checkbox-converged/checkbox-converged.qml | ||
79 | 5 | Icon=checkbox-converged.svg | ||
80 | 6 | Terminal=false | ||
81 | 7 | Type=Application | ||
82 | 8 | X-Ubuntu-Touch=true | ||
83 | 0 | 9 | ||
84 | === added file 'debian/clean' | |||
85 | --- debian/clean 1970-01-01 00:00:00 +0000 | |||
86 | +++ debian/clean 2016-09-29 12:03:24 +0000 | |||
87 | @@ -0,0 +1,2 @@ | |||
88 | 1 | converged/py/__pycache__/*.pyc | ||
89 | 2 | |||
90 | 0 | 3 | ||
91 | === added file 'debian/compat' | |||
92 | --- debian/compat 1970-01-01 00:00:00 +0000 | |||
93 | +++ debian/compat 2016-09-29 12:03:24 +0000 | |||
94 | @@ -0,0 +1,1 @@ | |||
95 | 1 | 9 | ||
96 | 0 | 2 | ||
97 | === added file 'debian/control' | |||
98 | --- debian/control 1970-01-01 00:00:00 +0000 | |||
99 | +++ debian/control 2016-09-29 12:03:24 +0000 | |||
100 | @@ -0,0 +1,23 @@ | |||
101 | 1 | Source: checkbox-converged | ||
102 | 2 | Section: utils | ||
103 | 3 | Priority: optional | ||
104 | 4 | Maintainer: Checkbox Developers <checkbox-dev@lists.launchpad.net> | ||
105 | 5 | Uploaders: Sylvain Pineau <sylvain.pineau@canonical.com>, | ||
106 | 6 | Zygmunt Krynicki <zygmunt.krynicki@canonical.com>, | ||
107 | 7 | Debian Python Modules Team <python-modules-team@lists.alioth.debian.org> | ||
108 | 8 | Build-Depends: debhelper (>= 9) | ||
109 | 9 | Standards-Version: 3.9.6 | ||
110 | 10 | Homepage: http://launchpad.net/checkbox | ||
111 | 11 | |||
112 | 12 | Package: checkbox-converged | ||
113 | 13 | Architecture: amd64 | ||
114 | 14 | Depends: pyotherside, | ||
115 | 15 | python3, | ||
116 | 16 | python3-plainbox (>= 0.27~), | ||
117 | 17 | qt (>= 5.4) | qml-module-qtquick-layouts, | ||
118 | 18 | qtdeclarative5-test-plugin, | ||
119 | 19 | qtdeclarative5-ubuntu-ui-toolkit-plugin, | ||
120 | 20 | suru-icon-theme | ||
121 | 21 | ${misc:Depends} | ||
122 | 22 | Description: testing tool for all Ubuntu devices | ||
123 | 23 | This tool helps to test devices ranging from servers to phones. | ||
124 | 0 | 24 | ||
125 | === added file 'debian/copyright' | |||
126 | --- debian/copyright 1970-01-01 00:00:00 +0000 | |||
127 | +++ debian/copyright 2016-09-29 12:03:24 +0000 | |||
128 | @@ -0,0 +1,21 @@ | |||
129 | 1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
130 | 2 | Upstream-Name: checkbox-converged | ||
131 | 3 | Source: https://launchpad.net/checkbox | ||
132 | 4 | |||
133 | 5 | Files: * | ||
134 | 6 | Copyright: Copyright 2012-2015 Canonical Ltd. | ||
135 | 7 | License: GPL-3 | ||
136 | 8 | This program is free software: you can redistribute it and/or modify | ||
137 | 9 | it under the terms of the GNU General Public License version 3, | ||
138 | 10 | as published by the Free Software Foundation. | ||
139 | 11 | . | ||
140 | 12 | This program is distributed in the hope that it will be useful, | ||
141 | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
142 | 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
143 | 15 | GNU General Public License for more details. | ||
144 | 16 | . | ||
145 | 17 | You should have received a copy of the GNU General Public License | ||
146 | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
147 | 19 | . | ||
148 | 20 | On Debian-based systems the full text of the GPL, version 3, can be found at | ||
149 | 21 | /usr/share/common-licenses/GPL-3. | ||
150 | 0 | 22 | ||
151 | === added file 'debian/install' | |||
152 | --- debian/install 1970-01-01 00:00:00 +0000 | |||
153 | +++ debian/install 2016-09-29 12:03:24 +0000 | |||
154 | @@ -0,0 +1,8 @@ | |||
155 | 1 | converged/checkbox-converged.qml usr/share/checkbox-converged/ | ||
156 | 2 | converged/checkbox-converged.svg usr/share/icons/hicolor/scalable/apps/ | ||
157 | 3 | converged/components usr/share/checkbox-converged/ | ||
158 | 4 | converged/py usr/share/checkbox-converged/ | ||
159 | 5 | debian/checkbox-converged.desktop usr/share/applications | ||
160 | 6 | debian/settings.json usr/share/checkbox-converged/ | ||
161 | 7 | debian/tick.svg usr/share/icons/suru/actions/scalable/ | ||
162 | 8 | debian/window-close.svg usr/share/icons/suru/actions/scalable/ | ||
163 | 0 | 9 | ||
164 | === added file 'debian/links' | |||
165 | --- debian/links 1970-01-01 00:00:00 +0000 | |||
166 | +++ debian/links 2016-09-29 12:03:24 +0000 | |||
167 | @@ -0,0 +1,3 @@ | |||
168 | 1 | /usr/lib/x86_64-linux-gnu/qt5/qml/io /opt/qt-5.4/usr/lib/x86_64-linux-gnu/qt5/qml/io | ||
169 | 2 | /usr/lib/x86_64-linux-gnu/qt5/qml/jbQuick /opt/qt-5.4/usr/lib/x86_64-linux-gnu/qt5/qml/jbQuick | ||
170 | 3 | /opt/qt-5.4/usr/share/qtchooser/qt5-x86_64-linux-gnu.conf /etc/xdg/qtchooser/5.4.conf | ||
171 | 0 | 4 | ||
172 | === added directory 'debian/patches' | |||
173 | === added file 'debian/patches/components_1.3_removal.diff' | |||
174 | --- debian/patches/components_1.3_removal.diff 1970-01-01 00:00:00 +0000 | |||
175 | +++ debian/patches/components_1.3_removal.diff 2016-09-29 12:03:24 +0000 | |||
176 | @@ -0,0 +1,1129 @@ | |||
177 | 1 | diff --git b/converged/checkbox-converged.qml a/converged/checkbox-converged.qml | ||
178 | 2 | index cb896ef..c6c3b93 100644 | ||
179 | 3 | --- b/converged/checkbox-converged.qml | ||
180 | 4 | +++ a/converged/checkbox-converged.qml | ||
181 | 5 | @@ -20,8 +20,8 @@ | ||
182 | 6 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
183 | 7 | */ | ||
184 | 8 | import QtQuick 2.0 | ||
185 | 9 | -import Ubuntu.Components 1.3 | ||
186 | 10 | -import Ubuntu.Components.Popups 1.3 | ||
187 | 11 | +import Ubuntu.Components 1.1 | ||
188 | 12 | +import Ubuntu.Components.Popups 0.1 | ||
189 | 13 | import QtQuick.Layouts 1.1 | ||
190 | 14 | import io.thp.pyotherside 1.4 | ||
191 | 15 | import "components" | ||
192 | 16 | @@ -48,6 +48,8 @@ MainView { | ||
193 | 17 | width: units.gu(100) | ||
194 | 18 | height: units.gu(75) | ||
195 | 19 | |||
196 | 20 | + useDeprecatedToolbar: false | ||
197 | 21 | + | ||
198 | 22 | // appSettings serves as application-wide storage for global variables | ||
199 | 23 | // it has to have at least one entry to be constructed | ||
200 | 24 | property var appSettings: { | ||
201 | 25 | @@ -483,6 +485,7 @@ to rerun last test, continue to the next test, or start a new session?") | ||
202 | 26 | CommandOutputPage { | ||
203 | 27 | id: commandOutputPage | ||
204 | 28 | visible: false | ||
205 | 29 | + __customHeaderContents: progressHeader; | ||
206 | 30 | } | ||
207 | 31 | /* | ||
208 | 32 | * Create a page from a Component defined in `url` with a common | ||
209 | 33 | @@ -499,6 +502,8 @@ to rerun last test, continue to the next test, or start a new session?") | ||
210 | 34 | var pageObject = pageComponent.createObject(); | ||
211 | 35 | if (test) { | ||
212 | 36 | pageObject.test = test; | ||
213 | 37 | + pageObject.__customHeaderContents = progressHeader; | ||
214 | 38 | + progressHeader.update(test) | ||
215 | 39 | } | ||
216 | 40 | return pageObject; | ||
217 | 41 | } | ||
218 | 42 | diff --git b/converged/components/AboutPage.qml a/converged/components/AboutPage.qml | ||
219 | 43 | index bb0f50e..d3de734 100644 | ||
220 | 44 | --- b/converged/components/AboutPage.qml | ||
221 | 45 | +++ a/converged/components/AboutPage.qml | ||
222 | 46 | @@ -24,7 +24,7 @@ | ||
223 | 47 | This page shows version information and contents of AUTHORS file located in top chekckbox-converged directory | ||
224 | 48 | */ | ||
225 | 49 | import QtQuick 2.0 | ||
226 | 50 | -import Ubuntu.Components 1.3 | ||
227 | 51 | +import Ubuntu.Components 1.1 | ||
228 | 52 | import QtQuick.Layouts 1.1 | ||
229 | 53 | |||
230 | 54 | Page { | ||
231 | 55 | @@ -36,17 +36,12 @@ Page { | ||
232 | 56 | |||
233 | 57 | onVersionInfoChanged: body.generateVersionText() | ||
234 | 58 | |||
235 | 59 | - header: PageHeader { | ||
236 | 60 | - title: i18n.tr("About") | ||
237 | 61 | - } | ||
238 | 62 | + title: i18n.tr("About") | ||
239 | 63 | |||
240 | 64 | ColumnLayout { | ||
241 | 65 | spacing: units.gu(3) | ||
242 | 66 | anchors { | ||
243 | 67 | - top: header.bottom | ||
244 | 68 | - bottom: aboutPage.bottom | ||
245 | 69 | - right: aboutPage.right | ||
246 | 70 | - left: aboutPage.left | ||
247 | 71 | + fill: parent | ||
248 | 72 | topMargin: units.gu(3) | ||
249 | 73 | bottomMargin: units.gu(3) | ||
250 | 74 | leftMargin: units.gu(1) | ||
251 | 75 | diff --git b/converged/components/AutomatedTestPage.qml a/converged/components/AutomatedTestPage.qml | ||
252 | 76 | index 49e9ba2..7102aa9 100644 | ||
253 | 77 | --- b/converged/components/AutomatedTestPage.qml | ||
254 | 78 | +++ a/converged/components/AutomatedTestPage.qml | ||
255 | 79 | @@ -20,7 +20,7 @@ | ||
256 | 80 | */ | ||
257 | 81 | |||
258 | 82 | import QtQuick 2.0 | ||
259 | 83 | -import Ubuntu.Components 1.3 | ||
260 | 84 | +import Ubuntu.Components 1.1 | ||
261 | 85 | import QtQuick.Layouts 1.1 | ||
262 | 86 | |||
263 | 87 | /*! \brief Page for Automated Test | ||
264 | 88 | @@ -36,13 +36,9 @@ Page { | ||
265 | 89 | |||
266 | 90 | property var test: { "name": "", "description": "", "test_number": 0, "tests_count": 0} | ||
267 | 91 | |||
268 | 92 | - visible: false | ||
269 | 93 | + title: i18n.tr("Automated test") | ||
270 | 94 | |||
271 | 95 | - header: ProgressHeader { | ||
272 | 96 | - value: test['test_number'] | ||
273 | 97 | - maximumValue: test['tests_count'] | ||
274 | 98 | - title: i18n.tr("Automated test") | ||
275 | 99 | - } | ||
276 | 100 | + visible: false | ||
277 | 101 | |||
278 | 102 | TestPageBody { | ||
279 | 103 | header: test["name"] | ||
280 | 104 | diff --git b/converged/components/CbtDialog.qml a/converged/components/CbtDialog.qml | ||
281 | 105 | index a7e36c3..ab3f281 100644 | ||
282 | 106 | --- b/converged/components/CbtDialog.qml | ||
283 | 107 | +++ a/converged/components/CbtDialog.qml | ||
284 | 108 | @@ -19,8 +19,8 @@ | ||
285 | 109 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
286 | 110 | */ | ||
287 | 111 | import QtQuick 2.0 | ||
288 | 112 | -import Ubuntu.Components 1.3 | ||
289 | 113 | -import Ubuntu.Components.Popups 1.3 | ||
290 | 114 | +import Ubuntu.Components 1.1 | ||
291 | 115 | +import Ubuntu.Components.Popups 0.1 | ||
292 | 116 | import QtQuick.Layouts 1.1 | ||
293 | 117 | |||
294 | 118 | /*! \brief Common dialog popup. | ||
295 | 119 | diff --git b/converged/components/CheckboxConvergedApplication.qml a/converged/components/CheckboxConvergedApplication.qml | ||
296 | 120 | index 2aa8df3..46b92b4 100644 | ||
297 | 121 | --- b/converged/components/CheckboxConvergedApplication.qml | ||
298 | 122 | +++ a/converged/components/CheckboxConvergedApplication.qml | ||
299 | 123 | @@ -21,6 +21,7 @@ | ||
300 | 124 | */ | ||
301 | 125 | |||
302 | 126 | import QtQuick 2.0 | ||
303 | 127 | +import Ubuntu.Components 1.1 | ||
304 | 128 | |||
305 | 129 | PythonObjectRef { | ||
306 | 130 | id: app | ||
307 | 131 | diff --git b/converged/components/CommandOutputPage.qml a/converged/components/CommandOutputPage.qml | ||
308 | 132 | index 52a534f..144c4d0 100644 | ||
309 | 133 | --- b/converged/components/CommandOutputPage.qml | ||
310 | 134 | +++ a/converged/components/CommandOutputPage.qml | ||
311 | 135 | @@ -24,8 +24,8 @@ | ||
312 | 136 | */ | ||
313 | 137 | |||
314 | 138 | import QtQuick 2.0 | ||
315 | 139 | -import Ubuntu.Components 1.3 | ||
316 | 140 | -import Ubuntu.Components.Popups 1.3 | ||
317 | 141 | +import Ubuntu.Components 1.1 | ||
318 | 142 | +import Ubuntu.Components.Popups 0.1 | ||
319 | 143 | import QtQuick.Layouts 1.1 | ||
320 | 144 | |||
321 | 145 | Page { | ||
322 | 146 | @@ -43,21 +43,18 @@ Page { | ||
323 | 147 | textArea.text = ""; | ||
324 | 148 | } | ||
325 | 149 | |||
326 | 150 | - header: PageHeader { | ||
327 | 151 | - title: i18n.tr("Command output") | ||
328 | 152 | - trailingActionBar { | ||
329 | 153 | - objectName: 'trailingActionBar' | ||
330 | 154 | - actions: [ | ||
331 | 155 | - Action { | ||
332 | 156 | - id: copyAction | ||
333 | 157 | - objectName: "copyOutputAction" | ||
334 | 158 | - iconName: "edit-copy" | ||
335 | 159 | - // TRANSLATORS: a verb (call to action) | ||
336 | 160 | - text: i18n.tr("Copy") | ||
337 | 161 | - onTriggered: Clipboard.push(mimeData) | ||
338 | 162 | - } | ||
339 | 163 | - ] | ||
340 | 164 | - } | ||
341 | 165 | + title: i18n.tr("Command output") | ||
342 | 166 | + head { | ||
343 | 167 | + actions: [ | ||
344 | 168 | + Action { | ||
345 | 169 | + id: skipAction | ||
346 | 170 | + objectName: "copyOutputAction" | ||
347 | 171 | + iconName: "edit-copy" | ||
348 | 172 | + // TRANSLATORS: a verb (call to action) | ||
349 | 173 | + text: i18n.tr("Copy") | ||
350 | 174 | + onTriggered: Clipboard.push(mimeData) | ||
351 | 175 | + } | ||
352 | 176 | + ] | ||
353 | 177 | } | ||
354 | 178 | |||
355 | 179 | Timer { | ||
356 | 180 | diff --git b/converged/components/CommentsDialog.qml a/converged/components/CommentsDialog.qml | ||
357 | 181 | index 3323788..8dc1b6c 100644 | ||
358 | 182 | --- b/converged/components/CommentsDialog.qml | ||
359 | 183 | +++ a/converged/components/CommentsDialog.qml | ||
360 | 184 | @@ -19,8 +19,8 @@ | ||
361 | 185 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
362 | 186 | */ | ||
363 | 187 | import QtQuick 2.0 | ||
364 | 188 | -import Ubuntu.Components 1.3 | ||
365 | 189 | -import Ubuntu.Components.Popups 1.3 | ||
366 | 190 | +import Ubuntu.Components 1.1 | ||
367 | 191 | +import Ubuntu.Components.Popups 0.1 | ||
368 | 192 | |||
369 | 193 | /*! \brief Comment addition dialog. | ||
370 | 194 | \inherits Item | ||
371 | 195 | diff --git b/converged/components/ConfirmationDialog.qml a/converged/components/ConfirmationDialog.qml | ||
372 | 196 | index 25e8734..44e8963 100644 | ||
373 | 197 | --- b/converged/components/ConfirmationDialog.qml | ||
374 | 198 | +++ a/converged/components/ConfirmationDialog.qml | ||
375 | 199 | @@ -19,8 +19,8 @@ | ||
376 | 200 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
377 | 201 | */ | ||
378 | 202 | import QtQuick 2.0 | ||
379 | 203 | -import Ubuntu.Components 1.3 | ||
380 | 204 | -import Ubuntu.Components.Popups 1.3 | ||
381 | 205 | +import Ubuntu.Components 1.1 | ||
382 | 206 | +import Ubuntu.Components.Popups 0.1 | ||
383 | 207 | |||
384 | 208 | /*! \brief Skip-confirmation dialog. | ||
385 | 209 | \inherits Item | ||
386 | 210 | diff --git b/converged/components/ErrorDialog.qml a/converged/components/ErrorDialog.qml | ||
387 | 211 | index edbcc1a..688e68a 100644 | ||
388 | 212 | --- b/converged/components/ErrorDialog.qml | ||
389 | 213 | +++ a/converged/components/ErrorDialog.qml | ||
390 | 214 | @@ -19,8 +19,8 @@ | ||
391 | 215 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
392 | 216 | */ | ||
393 | 217 | import QtQuick 2.0 | ||
394 | 218 | -import Ubuntu.Components 1.3 | ||
395 | 219 | -import Ubuntu.Components.Popups 1.3 | ||
396 | 220 | +import Ubuntu.Components 1.1 | ||
397 | 221 | +import Ubuntu.Components.Popups 0.1 | ||
398 | 222 | |||
399 | 223 | /*! \brief Error message popup. | ||
400 | 224 | \inherits Item | ||
401 | 225 | diff --git b/converged/components/InputDialog.qml a/converged/components/InputDialog.qml | ||
402 | 226 | index a9d9776..99fa4c5 100644 | ||
403 | 227 | --- b/converged/components/InputDialog.qml | ||
404 | 228 | +++ a/converged/components/InputDialog.qml | ||
405 | 229 | @@ -19,8 +19,8 @@ | ||
406 | 230 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
407 | 231 | */ | ||
408 | 232 | import QtQuick 2.0 | ||
409 | 233 | -import Ubuntu.Components 1.3 | ||
410 | 234 | -import Ubuntu.Components.Popups 1.3 | ||
411 | 235 | +import Ubuntu.Components 1.1 | ||
412 | 236 | +import Ubuntu.Components.Popups 0.1 | ||
413 | 237 | |||
414 | 238 | /*! \brief Simple input dialog. | ||
415 | 239 | \inherits Item | ||
416 | 240 | diff --git b/converged/components/InteractIntroPage.qml a/converged/components/InteractIntroPage.qml | ||
417 | 241 | index 01e285b..d62965f 100644 | ||
418 | 242 | --- b/converged/components/InteractIntroPage.qml | ||
419 | 243 | +++ a/converged/components/InteractIntroPage.qml | ||
420 | 244 | @@ -27,8 +27,8 @@ | ||
421 | 245 | */ | ||
422 | 246 | |||
423 | 247 | import QtQuick 2.0 | ||
424 | 248 | -import Ubuntu.Components 1.3 | ||
425 | 249 | -import Ubuntu.Components.Popups 1.3 | ||
426 | 250 | +import Ubuntu.Components 1.1 | ||
427 | 251 | +import Ubuntu.Components.Popups 0.1 | ||
428 | 252 | import QtQuick.Layouts 1.1 | ||
429 | 253 | import "actions" | ||
430 | 254 | |||
431 | 255 | @@ -45,26 +45,16 @@ Page { | ||
432 | 256 | startTestButton.unlatch() | ||
433 | 257 | } | ||
434 | 258 | |||
435 | 259 | - onTestChanged: { | ||
436 | 260 | - header.value = test['test_number'] | ||
437 | 261 | - header.maximumValue = test['tests_count'] | ||
438 | 262 | - } | ||
439 | 263 | - header: ProgressHeader { | ||
440 | 264 | - value: test['test_number'] | ||
441 | 265 | - maximumValue: test['tests_count'] | ||
442 | 266 | - title: i18n.tr("Test Description") | ||
443 | 267 | - leadingActionBar { actions: [] } | ||
444 | 268 | - trailingActionBar { | ||
445 | 269 | - objectName: 'trailingActionBar' | ||
446 | 270 | - actions: [ | ||
447 | 271 | - AddCommentAction { | ||
448 | 272 | - id: addCommentAction | ||
449 | 273 | - }, | ||
450 | 274 | - SkipAction { | ||
451 | 275 | - id: skipAction | ||
452 | 276 | - } | ||
453 | 277 | - ] | ||
454 | 278 | - } | ||
455 | 279 | + title: i18n.tr("Test Description") | ||
456 | 280 | + head { | ||
457 | 281 | + actions: [ | ||
458 | 282 | + AddCommentAction { | ||
459 | 283 | + id: addCommentAction | ||
460 | 284 | + }, | ||
461 | 285 | + SkipAction { | ||
462 | 286 | + id: skipAction | ||
463 | 287 | + } | ||
464 | 288 | + ] | ||
465 | 289 | } | ||
466 | 290 | |||
467 | 291 | state: "idle" | ||
468 | 292 | diff --git b/converged/components/LatchButton.qml a/converged/components/LatchButton.qml | ||
469 | 293 | index 8fe9252..b1ea81b 100644 | ||
470 | 294 | --- b/converged/components/LatchButton.qml | ||
471 | 295 | +++ a/converged/components/LatchButton.qml | ||
472 | 296 | @@ -20,7 +20,7 @@ | ||
473 | 297 | */ | ||
474 | 298 | |||
475 | 299 | import QtQuick 2.0 | ||
476 | 300 | -import Ubuntu.Components 1.3 | ||
477 | 301 | +import Ubuntu.Components 1.1 | ||
478 | 302 | |||
479 | 303 | /*! \brief Latch button. | ||
480 | 304 | \inherits Button | ||
481 | 305 | diff --git b/converged/components/ListItemWrappable.qml a/converged/components/ListItemWrappable.qml | ||
482 | 306 | index e9297bf..a380ea2 100644 | ||
483 | 307 | --- b/converged/components/ListItemWrappable.qml | ||
484 | 308 | +++ a/converged/components/ListItemWrappable.qml | ||
485 | 309 | @@ -19,7 +19,7 @@ | ||
486 | 310 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
487 | 311 | */ | ||
488 | 312 | import QtQuick 2.0 | ||
489 | 313 | -import Ubuntu.Components 1.3 | ||
490 | 314 | +import Ubuntu.Components 1.1 | ||
491 | 315 | import Ubuntu.Components.ListItems 1.0 | ||
492 | 316 | |||
493 | 317 | /*! \brief ListItemWrappable | ||
494 | 318 | diff --git b/converged/components/ManualIntroPage.qml a/converged/components/ManualIntroPage.qml | ||
495 | 319 | index 0fce6f5..afe007a 100644 | ||
496 | 320 | --- b/converged/components/ManualIntroPage.qml | ||
497 | 321 | +++ a/converged/components/ManualIntroPage.qml | ||
498 | 322 | @@ -26,9 +26,9 @@ | ||
499 | 323 | */ | ||
500 | 324 | |||
501 | 325 | import QtQuick 2.0 | ||
502 | 326 | -import Ubuntu.Components 1.3 | ||
503 | 327 | +import Ubuntu.Components 1.1 | ||
504 | 328 | import QtQuick.Layouts 1.1 | ||
505 | 329 | -import Ubuntu.Components.Popups 1.3 | ||
506 | 330 | +import Ubuntu.Components.Popups 0.1 | ||
507 | 331 | import "actions" | ||
508 | 332 | |||
509 | 333 | Page { | ||
510 | 334 | @@ -39,26 +39,16 @@ Page { | ||
511 | 335 | signal continueClicked(); | ||
512 | 336 | signal testDone(var test); | ||
513 | 337 | |||
514 | 338 | - onTestChanged: { | ||
515 | 339 | - header.value = test['test_number'] | ||
516 | 340 | - header.maximumValue = test['tests_count'] | ||
517 | 341 | - } | ||
518 | 342 | - header: ProgressHeader { | ||
519 | 343 | - value: test['test_number'] | ||
520 | 344 | - maximumValue: test['tests_count'] | ||
521 | 345 | - title: i18n.tr("Test Description") | ||
522 | 346 | - leadingActionBar { actions: [] } | ||
523 | 347 | - trailingActionBar { | ||
524 | 348 | - objectName: 'trailingActionBar' | ||
525 | 349 | - actions: [ | ||
526 | 350 | - AddCommentAction { | ||
527 | 351 | - id: addCommentAction | ||
528 | 352 | - }, | ||
529 | 353 | - SkipAction { | ||
530 | 354 | - id: skipAction | ||
531 | 355 | - } | ||
532 | 356 | - ] | ||
533 | 357 | - } | ||
534 | 358 | + title: i18n.tr("Test Description") | ||
535 | 359 | + head { | ||
536 | 360 | + actions: [ | ||
537 | 361 | + AddCommentAction { | ||
538 | 362 | + id: addCommentAction | ||
539 | 363 | + }, | ||
540 | 364 | + SkipAction { | ||
541 | 365 | + id: skipAction | ||
542 | 366 | + } | ||
543 | 367 | + ] | ||
544 | 368 | } | ||
545 | 369 | |||
546 | 370 | TestPageBody { | ||
547 | 371 | diff --git b/converged/components/PasswordDialog.qml a/converged/components/PasswordDialog.qml | ||
548 | 372 | index dea1b0f..c3931bc 100644 | ||
549 | 373 | --- b/converged/components/PasswordDialog.qml | ||
550 | 374 | +++ a/converged/components/PasswordDialog.qml | ||
551 | 375 | @@ -19,8 +19,8 @@ | ||
552 | 376 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
553 | 377 | */ | ||
554 | 378 | import QtQuick 2.0 | ||
555 | 379 | -import Ubuntu.Components 1.3 | ||
556 | 380 | -import Ubuntu.Components.Popups 1.3 | ||
557 | 381 | +import Ubuntu.Components 1.1 | ||
558 | 382 | +import Ubuntu.Components.Popups 0.1 | ||
559 | 383 | |||
560 | 384 | /*! \brief Password prompt dialog. | ||
561 | 385 | \inherits Item | ||
562 | 386 | diff --git b/converged/components/ProgressBox.qml a/converged/components/ProgressBox.qml | ||
563 | 387 | index b9fc720..a2b5d05 100644 | ||
564 | 388 | --- b/converged/components/ProgressBox.qml | ||
565 | 389 | +++ a/converged/components/ProgressBox.qml | ||
566 | 390 | @@ -20,7 +20,7 @@ | ||
567 | 391 | */ | ||
568 | 392 | |||
569 | 393 | import QtQuick 2.0 | ||
570 | 394 | -import Ubuntu.Components 1.3 | ||
571 | 395 | +import Ubuntu.Components 1.1 | ||
572 | 396 | import QtQuick.Layouts 1.1 | ||
573 | 397 | |||
574 | 398 | /*! \brief Progress Box. | ||
575 | 399 | diff --git b/converged/components/ProgressHeader.qml a/converged/components/ProgressHeader.qml | ||
576 | 400 | deleted file mode 100644 | ||
577 | 401 | index a7db263..0000000 | ||
578 | 402 | --- b/converged/components/ProgressHeader.qml | ||
579 | 403 | +++ /dev/null | ||
580 | 404 | @@ -1,59 +0,0 @@ | ||
581 | 405 | -/* | ||
582 | 406 | - * This file is part of Checkbox | ||
583 | 407 | - * | ||
584 | 408 | - * Copyright 2016 Canonical Ltd. | ||
585 | 409 | - * | ||
586 | 410 | - * Authors: | ||
587 | 411 | - * - Maciej Kisielewski <maciej.kisielewski@canonical.com> | ||
588 | 412 | - * | ||
589 | 413 | - * This program is free software; you can redistribute it and/or modify | ||
590 | 414 | - * it under the terms of the GNU General Public License as published by | ||
591 | 415 | - * the Free Software Foundation; version 3. | ||
592 | 416 | - * | ||
593 | 417 | - * This program is distributed in the hope that it will be useful, | ||
594 | 418 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
595 | 419 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
596 | 420 | - * GNU General Public License for more details. | ||
597 | 421 | - * | ||
598 | 422 | - * You should have received a copy of the GNU General Public License | ||
599 | 423 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
600 | 424 | - */ | ||
601 | 425 | -/*! | ||
602 | 426 | - \brief Header with embedded progress bar | ||
603 | 427 | -*/ | ||
604 | 428 | -import Ubuntu.Components 1.3 | ||
605 | 429 | -import QtQuick.Layouts 1.1 | ||
606 | 430 | -import QtQuick 2.2 | ||
607 | 431 | - | ||
608 | 432 | -PageHeader { | ||
609 | 433 | - id: header | ||
610 | 434 | - property alias progressText: _progressText.text | ||
611 | 435 | - property alias value: _progressBar.value | ||
612 | 436 | - property alias maximumValue: _progressBar.maximumValue | ||
613 | 437 | - | ||
614 | 438 | - ColumnLayout{ | ||
615 | 439 | - anchors { | ||
616 | 440 | - fill: parent | ||
617 | 441 | - verticalCenter: parent.verticalCenter | ||
618 | 442 | - bottomMargin: units.gu(0.5) | ||
619 | 443 | - rightMargin: units.gu(2) | ||
620 | 444 | - leftMargin: units.gu(5) | ||
621 | 445 | - } | ||
622 | 446 | - Label { | ||
623 | 447 | - id: _progressText | ||
624 | 448 | - fontSize: "x-small" | ||
625 | 449 | - font.weight: Font.Light | ||
626 | 450 | - anchors.right: _progressBar.right | ||
627 | 451 | - anchors.bottom: parent.bottom | ||
628 | 452 | - anchors.bottomMargin: units.gu(0.5) | ||
629 | 453 | - text : Number(_progressBar.value / _progressBar.maximumValue * 100.0).toFixed(0) + "% (" + _progressBar.value + "/" + _progressBar.maximumValue + ")"; | ||
630 | 454 | - } | ||
631 | 455 | - ProgressBox { | ||
632 | 456 | - id: _progressBar | ||
633 | 457 | - value: 0 | ||
634 | 458 | - maximumValue: 1 | ||
635 | 459 | - implicitWidth: parent.width - trailingActionBar.width | ||
636 | 460 | - anchors.bottom: parent.bottom | ||
637 | 461 | - } | ||
638 | 462 | - } | ||
639 | 463 | -} | ||
640 | 464 | diff --git b/converged/components/QmlConfinedPage.qml a/converged/components/QmlConfinedPage.qml | ||
641 | 465 | index 0c8f773..527525f 100644 | ||
642 | 466 | --- b/converged/components/QmlConfinedPage.qml | ||
643 | 467 | +++ a/converged/components/QmlConfinedPage.qml | ||
644 | 468 | @@ -23,8 +23,8 @@ | ||
645 | 469 | */ | ||
646 | 470 | |||
647 | 471 | import QtQuick 2.0 | ||
648 | 472 | -import Ubuntu.Components 1.3 | ||
649 | 473 | -import Ubuntu.Components.Popups 1.3 | ||
650 | 474 | +import Ubuntu.Components 1.1 | ||
651 | 475 | +import Ubuntu.Components.Popups 0.1 | ||
652 | 476 | import QtQuick.Layouts 1.1 | ||
653 | 477 | import Ubuntu.Content 1.1 | ||
654 | 478 | import "actions" | ||
655 | 479 | @@ -37,6 +37,7 @@ Page { | ||
656 | 480 | signal testDone(var test); | ||
657 | 481 | |||
658 | 482 | objectName: "qmlNativePage" | ||
659 | 483 | + title: i18n.tr("Test Description") | ||
660 | 484 | |||
661 | 485 | /* testingShell serves as the interface to the external world from the | ||
662 | 486 | * qml-test. */ | ||
663 | 487 | @@ -74,26 +75,15 @@ Page { | ||
664 | 488 | } | ||
665 | 489 | } | ||
666 | 490 | |||
667 | 491 | - onTestChanged: { | ||
668 | 492 | - header.value = test['test_number'] | ||
669 | 493 | - header.maximumValue = test['tests_count'] | ||
670 | 494 | - } | ||
671 | 495 | - header: ProgressHeader { | ||
672 | 496 | - value: test['test_number'] | ||
673 | 497 | - maximumValue: test['tests_count'] | ||
674 | 498 | - title: i18n.tr("Test Description") | ||
675 | 499 | - leadingActionBar { actions: [] } | ||
676 | 500 | - trailingActionBar { | ||
677 | 501 | - objectName: 'trailingActionBar' | ||
678 | 502 | - actions: [ | ||
679 | 503 | - AddCommentAction { | ||
680 | 504 | - id: addCommentAction | ||
681 | 505 | - }, | ||
682 | 506 | - SkipAction { | ||
683 | 507 | - id: skipAction | ||
684 | 508 | - } | ||
685 | 509 | - ] | ||
686 | 510 | - } | ||
687 | 511 | + head { | ||
688 | 512 | + actions: [ | ||
689 | 513 | + AddCommentAction { | ||
690 | 514 | + id: addCommentAction | ||
691 | 515 | + }, | ||
692 | 516 | + SkipAction { | ||
693 | 517 | + id: skipAction | ||
694 | 518 | + } | ||
695 | 519 | + ] | ||
696 | 520 | } | ||
697 | 521 | |||
698 | 522 | TestPageBody { | ||
699 | 523 | diff --git b/converged/components/QmlNativePage.qml a/converged/components/QmlNativePage.qml | ||
700 | 524 | index 8928f60..a33a883 100644 | ||
701 | 525 | --- b/converged/components/QmlNativePage.qml | ||
702 | 526 | +++ a/converged/components/QmlNativePage.qml | ||
703 | 527 | @@ -23,8 +23,8 @@ | ||
704 | 528 | */ | ||
705 | 529 | |||
706 | 530 | import QtQuick 2.0 | ||
707 | 531 | -import Ubuntu.Components 1.3 | ||
708 | 532 | -import Ubuntu.Components.Popups 1.3 | ||
709 | 533 | +import Ubuntu.Components 1.1 | ||
710 | 534 | +import Ubuntu.Components.Popups 0.1 | ||
711 | 535 | import QtQuick.Layouts 1.1 | ||
712 | 536 | import "actions" | ||
713 | 537 | |||
714 | 538 | @@ -35,6 +35,7 @@ Page { | ||
715 | 539 | signal testDone(var test); | ||
716 | 540 | |||
717 | 541 | objectName: "qmlNativePage" | ||
718 | 542 | + title: i18n.tr("Test Description") | ||
719 | 543 | |||
720 | 544 | Object { | ||
721 | 545 | id: testingShell | ||
722 | 546 | @@ -47,26 +48,15 @@ Page { | ||
723 | 547 | } | ||
724 | 548 | } | ||
725 | 549 | |||
726 | 550 | - onTestChanged: { | ||
727 | 551 | - header.value = test['test_number'] | ||
728 | 552 | - header.maximumValue = test['tests_count'] | ||
729 | 553 | - } | ||
730 | 554 | - header: ProgressHeader { | ||
731 | 555 | - value: test['test_number'] | ||
732 | 556 | - maximumValue: test['tests_count'] | ||
733 | 557 | - title: i18n.tr("Test Description") | ||
734 | 558 | - leadingActionBar { actions: [] } | ||
735 | 559 | - trailingActionBar { | ||
736 | 560 | - objectName: 'trailingActionBar' | ||
737 | 561 | - actions: [ | ||
738 | 562 | - AddCommentAction { | ||
739 | 563 | - id: addCommentAction | ||
740 | 564 | - }, | ||
741 | 565 | - SkipAction { | ||
742 | 566 | - id: skipAction | ||
743 | 567 | - } | ||
744 | 568 | - ] | ||
745 | 569 | - } | ||
746 | 570 | + head { | ||
747 | 571 | + actions: [ | ||
748 | 572 | + AddCommentAction { | ||
749 | 573 | + id: addCommentAction | ||
750 | 574 | + }, | ||
751 | 575 | + SkipAction { | ||
752 | 576 | + id: skipAction | ||
753 | 577 | + } | ||
754 | 578 | + ] | ||
755 | 579 | } | ||
756 | 580 | |||
757 | 581 | TestPageBody { | ||
758 | 582 | diff --git b/converged/components/ResultsPage.qml a/converged/components/ResultsPage.qml | ||
759 | 583 | index 35fdcd1..ca6d567 100644 | ||
760 | 584 | --- b/converged/components/ResultsPage.qml | ||
761 | 585 | +++ a/converged/components/ResultsPage.qml | ||
762 | 586 | @@ -26,10 +26,11 @@ | ||
763 | 587 | */ | ||
764 | 588 | |||
765 | 589 | import QtQuick 2.0 | ||
766 | 590 | -import Ubuntu.Components 1.3 | ||
767 | 591 | +import Ubuntu.Components 1.1 | ||
768 | 592 | import QtQuick.Layouts 1.1 | ||
769 | 593 | |||
770 | 594 | Page { | ||
771 | 595 | + title: i18n.tr("Test Results") | ||
772 | 596 | visible: false | ||
773 | 597 | |||
774 | 598 | objectName: "resultsPage" | ||
775 | 599 | @@ -45,27 +46,22 @@ Page { | ||
776 | 600 | submitResultsButton.unlatch(); | ||
777 | 601 | } | ||
778 | 602 | |||
779 | 603 | - header: PageHeader { | ||
780 | 604 | - title: i18n.tr("Test Results") | ||
781 | 605 | - leadingActionBar { actions: [] } | ||
782 | 606 | - trailingActionBar { | ||
783 | 607 | - objectName: 'trailingActionBar' | ||
784 | 608 | - actions: [ | ||
785 | 609 | - Action { | ||
786 | 610 | - iconName: "close" | ||
787 | 611 | - text: i18n.tr("Close") | ||
788 | 612 | - onTriggered: endTesting(); | ||
789 | 613 | - }, | ||
790 | 614 | - Action { | ||
791 | 615 | - id: rerunAction | ||
792 | 616 | - objectName: "rerunAction" | ||
793 | 617 | - iconName: "view-refresh" | ||
794 | 618 | - text: i18n.tr("Rerun") | ||
795 | 619 | - onTriggered: rerunTests(); | ||
796 | 620 | - visible: rerunEnabled | ||
797 | 621 | - } | ||
798 | 622 | - ] | ||
799 | 623 | - } | ||
800 | 624 | + head { | ||
801 | 625 | + actions: [ | ||
802 | 626 | + Action { | ||
803 | 627 | + id: rerunAction | ||
804 | 628 | + objectName: "rerunAction" | ||
805 | 629 | + iconName: "view-refresh" | ||
806 | 630 | + text: i18n.tr("Rerun") | ||
807 | 631 | + onTriggered: rerunTests(); | ||
808 | 632 | + visible: rerunEnabled | ||
809 | 633 | + }, | ||
810 | 634 | + Action { | ||
811 | 635 | + iconName: "close" | ||
812 | 636 | + text: i18n.tr("Close") | ||
813 | 637 | + onTriggered: endTesting(); | ||
814 | 638 | + } | ||
815 | 639 | + ] | ||
816 | 640 | } | ||
817 | 641 | |||
818 | 642 | onResultsChanged: { | ||
819 | 643 | @@ -88,10 +84,7 @@ Page { | ||
820 | 644 | ColumnLayout { | ||
821 | 645 | spacing: units.gu(2) | ||
822 | 646 | anchors { | ||
823 | 647 | - top: parent.header.bottom | ||
824 | 648 | - right: parent.right | ||
825 | 649 | - left: parent.left | ||
826 | 650 | - bottom: parent.bottom | ||
827 | 651 | + fill: parent | ||
828 | 652 | topMargin: units.gu(3) | ||
829 | 653 | bottomMargin: units.gu(3) | ||
830 | 654 | leftMargin: units.gu(1) | ||
831 | 655 | diff --git b/converged/components/ResumeSessionPage.qml a/converged/components/ResumeSessionPage.qml | ||
832 | 656 | index cbfbb59..ad57715 100644 | ||
833 | 657 | --- b/converged/components/ResumeSessionPage.qml | ||
834 | 658 | +++ a/converged/components/ResumeSessionPage.qml | ||
835 | 659 | @@ -26,7 +26,7 @@ | ||
836 | 660 | */ | ||
837 | 661 | |||
838 | 662 | import QtQuick 2.0 | ||
839 | 663 | -import Ubuntu.Components 1.3 | ||
840 | 664 | +import Ubuntu.Components 1.1 | ||
841 | 665 | import QtQuick.Layouts 1.1 | ||
842 | 666 | |||
843 | 667 | Page { | ||
844 | 668 | @@ -39,21 +39,14 @@ Page { | ||
845 | 669 | signal deleteIncomplete(); | ||
846 | 670 | |||
847 | 671 | objectName: "resumeSessionPage" | ||
848 | 672 | + title: i18n.tr("Resume session") | ||
849 | 673 | visible: false | ||
850 | 674 | |||
851 | 675 | - header: PageHeader { | ||
852 | 676 | - leadingActionBar { actions: [] } | ||
853 | 677 | - title: i18n.tr("Resume session") | ||
854 | 678 | - } | ||
855 | 679 | - | ||
856 | 680 | ColumnLayout { | ||
857 | 681 | id: columnLayout | ||
858 | 682 | spacing: units.gu(3) | ||
859 | 683 | anchors { | ||
860 | 684 | - top: parent.header.bottom | ||
861 | 685 | - bottom: parent.bottom | ||
862 | 686 | - right: parent.right | ||
863 | 687 | - left: parent.left | ||
864 | 688 | + fill: parent | ||
865 | 689 | topMargin: units.gu(3) | ||
866 | 690 | bottomMargin: units.gu(3) | ||
867 | 691 | leftMargin: units.gu(1) | ||
868 | 692 | diff --git b/converged/components/SelectionPage.qml a/converged/components/SelectionPage.qml | ||
869 | 693 | index 6df9cb1..fbc2e75 100644 | ||
870 | 694 | --- b/converged/components/SelectionPage.qml | ||
871 | 695 | +++ a/converged/components/SelectionPage.qml | ||
872 | 696 | @@ -21,7 +21,7 @@ | ||
873 | 697 | |||
874 | 698 | import QtQuick 2.0 | ||
875 | 699 | import QtQuick.Layouts 1.1 | ||
876 | 700 | -import Ubuntu.Components 1.3 | ||
877 | 701 | +import Ubuntu.Components 1.1 | ||
878 | 702 | import Ubuntu.Components.ListItems 0.1 as ListItem | ||
879 | 703 | |||
880 | 704 | /*! \brief Selection page | ||
881 | 705 | @@ -32,15 +32,13 @@ import Ubuntu.Components.ListItems 0.1 as ListItem | ||
882 | 706 | */ | ||
883 | 707 | |||
884 | 708 | Page { | ||
885 | 709 | - id: root | ||
886 | 710 | signal selectionDone(var selected_id_list) | ||
887 | 711 | property string continueText: i18n.tr("Continue") | ||
888 | 712 | readonly property alias model: selectionModel | ||
889 | 713 | property alias keys: keysDelegator | ||
890 | 714 | property bool onlyOneAllowed: false | ||
891 | 715 | property bool emptyAllowed: false | ||
892 | 716 | property bool largeBuffer: false | ||
893 | 717 | - property string title: '' | ||
894 | 718 | |||
895 | 719 | visible: false | ||
896 | 720 | flickable: null | ||
897 | 721 | @@ -126,42 +124,40 @@ Page { | ||
898 | 722 | } | ||
899 | 723 | } | ||
900 | 724 | |||
901 | 725 | - header: PageHeader { | ||
902 | 726 | - title: root.title | ||
903 | 727 | - trailingActionBar { | ||
904 | 728 | - objectName: 'trailingActionBar' | ||
905 | 729 | - actions: [ | ||
906 | 730 | - Action { | ||
907 | 731 | - id: toggleSelection | ||
908 | 732 | - objectName: "toggleSelectionAction" | ||
909 | 733 | - iconName: "select" | ||
910 | 734 | - text: i18n.tr("Toggle selection") | ||
911 | 735 | - visible: !onlyOneAllowed | ||
912 | 736 | - onTriggered: { | ||
913 | 737 | - if (state === "empty selection" || state == "disabled only selection") { | ||
914 | 738 | - if (!onlyOneAllowed) // still reachable via key shortcut | ||
915 | 739 | - selectAll(); | ||
916 | 740 | - } | ||
917 | 741 | - else if (state === "nonempty selection") { | ||
918 | 742 | - deselectAll(); | ||
919 | 743 | - } | ||
920 | 744 | - } | ||
921 | 745 | - }, | ||
922 | 746 | - Action { | ||
923 | 747 | - id: findAction | ||
924 | 748 | - text: i18n.tr("Find") | ||
925 | 749 | - iconName: 'find' | ||
926 | 750 | - onTriggered: { | ||
927 | 751 | - if (!searchBox.visible) { | ||
928 | 752 | - searchBox.visible = true; | ||
929 | 753 | - searchBox.forceActiveFocus(); | ||
930 | 754 | - } else { | ||
931 | 755 | - searchBox.visible = false; | ||
932 | 756 | - } | ||
933 | 757 | - } | ||
934 | 758 | - } | ||
935 | 759 | - ] | ||
936 | 760 | - } | ||
937 | 761 | + head { | ||
938 | 762 | + actions: [ | ||
939 | 763 | + Action { | ||
940 | 764 | + id: toggleSelection | ||
941 | 765 | + objectName: "toggleSelectionAction" | ||
942 | 766 | + iconName: "select" | ||
943 | 767 | + text: i18n.tr("Toggle selection") | ||
944 | 768 | + visible: !onlyOneAllowed | ||
945 | 769 | + onTriggered: { | ||
946 | 770 | + if (state === "empty selection" || state == "disabled only selection") { | ||
947 | 771 | + if (!onlyOneAllowed) // still reachable via key shortcut | ||
948 | 772 | + selectAll(); | ||
949 | 773 | + } | ||
950 | 774 | + else if (state === "nonempty selection") { | ||
951 | 775 | + deselectAll(); | ||
952 | 776 | + } | ||
953 | 777 | + | ||
954 | 778 | + } | ||
955 | 779 | + }, | ||
956 | 780 | + Action { | ||
957 | 781 | + id: findAction | ||
958 | 782 | + text: i18n.tr("Find") | ||
959 | 783 | + iconName: 'find' | ||
960 | 784 | + onTriggered: { | ||
961 | 785 | + if (!searchBox.visible) { | ||
962 | 786 | + searchBox.visible = true; | ||
963 | 787 | + searchBox.forceActiveFocus(); | ||
964 | 788 | + } else { | ||
965 | 789 | + searchBox.visible = false; | ||
966 | 790 | + } | ||
967 | 791 | + } | ||
968 | 792 | + } | ||
969 | 793 | + ] | ||
970 | 794 | + } | ||
971 | 795 | } | ||
972 | 796 | |||
973 | 797 | states: [ | ||
974 | 798 | @@ -209,11 +205,8 @@ Page { | ||
975 | 799 | ColumnLayout { | ||
976 | 800 | spacing: units.gu(3) | ||
977 | 801 | anchors { | ||
978 | 802 | - top: parent.header.bottom | ||
979 | 803 | - bottom: parent.bottom | ||
980 | 804 | - right: parent.right | ||
981 | 805 | - left: parent.left | ||
982 | 806 | - topMargin: units.gu(1) | ||
983 | 807 | + fill: parent | ||
984 | 808 | + topMargin: units.gu(3) | ||
985 | 809 | bottomMargin: units.gu(3) | ||
986 | 810 | leftMargin: units.gu(1) | ||
987 | 811 | rightMargin: units.gu(1) | ||
988 | 812 | diff --git b/converged/components/TestPageBody.qml a/converged/components/TestPageBody.qml | ||
989 | 813 | index 73832e2..9693dae 100644 | ||
990 | 814 | --- b/converged/components/TestPageBody.qml | ||
991 | 815 | +++ a/converged/components/TestPageBody.qml | ||
992 | 816 | @@ -25,8 +25,8 @@ | ||
993 | 817 | |||
994 | 818 | import QtQuick 2.0 | ||
995 | 819 | import QtQuick.Layouts 1.1 | ||
996 | 820 | -import Ubuntu.Components 1.3 | ||
997 | 821 | -import Ubuntu.Components.Popups 1.3 | ||
998 | 822 | +import Ubuntu.Components 1.1 | ||
999 | 823 | +import Ubuntu.Components.Popups 0.1 | ||
1000 | 824 | |||
1001 | 825 | ColumnLayout { | ||
1002 | 826 | /* this property is the text to be shown in the top label */ | ||
1003 | 827 | @@ -45,10 +45,7 @@ ColumnLayout { | ||
1004 | 828 | |||
1005 | 829 | spacing: units.gu(3) | ||
1006 | 830 | anchors { | ||
1007 | 831 | - top: parent.header.bottom | ||
1008 | 832 | - right: parent.right | ||
1009 | 833 | - left: parent.left | ||
1010 | 834 | - bottom: parent.bottom | ||
1011 | 835 | + fill: parent | ||
1012 | 836 | topMargin: units.gu(3) | ||
1013 | 837 | bottomMargin: units.gu(3) | ||
1014 | 838 | leftMargin: units.gu(1) | ||
1015 | 839 | diff --git b/converged/components/TestVerificationPage.qml a/converged/components/TestVerificationPage.qml | ||
1016 | 840 | index 2178ffb..ad86d85 100644 | ||
1017 | 841 | --- b/converged/components/TestVerificationPage.qml | ||
1018 | 842 | +++ a/converged/components/TestVerificationPage.qml | ||
1019 | 843 | @@ -26,9 +26,9 @@ | ||
1020 | 844 | */ | ||
1021 | 845 | |||
1022 | 846 | import QtQuick 2.0 | ||
1023 | 847 | -import Ubuntu.Components 1.3 | ||
1024 | 848 | +import Ubuntu.Components 1.1 | ||
1025 | 849 | import QtQuick.Layouts 1.1 | ||
1026 | 850 | -import Ubuntu.Components.Popups 1.3 | ||
1027 | 851 | +import Ubuntu.Components.Popups 0.1 | ||
1028 | 852 | import "actions" | ||
1029 | 853 | |||
1030 | 854 | Page { | ||
1031 | 855 | @@ -38,26 +38,17 @@ Page { | ||
1032 | 856 | signal testDone(var test); | ||
1033 | 857 | |||
1034 | 858 | objectName: "testVerificationPage" | ||
1035 | 859 | + title: i18n.tr("Verification") | ||
1036 | 860 | |||
1037 | 861 | - onTestChanged: { | ||
1038 | 862 | - header.value = test['test_number'] | ||
1039 | 863 | - header.maximumValue = test['tests_count'] | ||
1040 | 864 | - } | ||
1041 | 865 | - header: ProgressHeader { | ||
1042 | 866 | - value: test['test_number'] | ||
1043 | 867 | - maximumValue: test['tests_count'] | ||
1044 | 868 | - title: i18n.tr("Verification") | ||
1045 | 869 | - trailingActionBar { | ||
1046 | 870 | - objectName: 'trailingActionBar' | ||
1047 | 871 | - actions: [ | ||
1048 | 872 | - AddCommentAction { | ||
1049 | 873 | - id: addCommentAction | ||
1050 | 874 | - }, | ||
1051 | 875 | - SkipAction { | ||
1052 | 876 | - id: skipAction | ||
1053 | 877 | - } | ||
1054 | 878 | - ] | ||
1055 | 879 | - } | ||
1056 | 880 | + head { | ||
1057 | 881 | + actions: [ | ||
1058 | 882 | + AddCommentAction { | ||
1059 | 883 | + id: addCommentAction | ||
1060 | 884 | + }, | ||
1061 | 885 | + SkipAction { | ||
1062 | 886 | + id: skipAction | ||
1063 | 887 | + } | ||
1064 | 888 | + ] | ||
1065 | 889 | } | ||
1066 | 890 | |||
1067 | 891 | TestPageBody { | ||
1068 | 892 | diff --git b/converged/components/UserInteractSummaryPage.qml a/converged/components/UserInteractSummaryPage.qml | ||
1069 | 893 | index 8f3ca06..2dc286d 100644 | ||
1070 | 894 | --- b/converged/components/UserInteractSummaryPage.qml | ||
1071 | 895 | +++ a/converged/components/UserInteractSummaryPage.qml | ||
1072 | 896 | @@ -26,8 +26,8 @@ | ||
1073 | 897 | */ | ||
1074 | 898 | |||
1075 | 899 | import QtQuick 2.0 | ||
1076 | 900 | -import Ubuntu.Components 1.3 | ||
1077 | 901 | -import Ubuntu.Components.Popups 1.3 | ||
1078 | 902 | +import Ubuntu.Components 1.1 | ||
1079 | 903 | +import Ubuntu.Components.Popups 0.1 | ||
1080 | 904 | import QtQuick.Layouts 1.1 | ||
1081 | 905 | import "actions" | ||
1082 | 906 | |||
1083 | 907 | @@ -38,25 +38,17 @@ Page { | ||
1084 | 908 | |||
1085 | 909 | signal testDone(var test); | ||
1086 | 910 | |||
1087 | 911 | - onTestChanged: { | ||
1088 | 912 | - header.value = test['test_number'] | ||
1089 | 913 | - header.maximumValue = test['tests_count'] | ||
1090 | 914 | - } | ||
1091 | 915 | - header: ProgressHeader { | ||
1092 | 916 | - value: test['test_number'] | ||
1093 | 917 | - maximumValue: test['tests_count'] | ||
1094 | 918 | - title: i18n.tr("Verification") | ||
1095 | 919 | - trailingActionBar { | ||
1096 | 920 | - objectName: 'trailingActionBar' | ||
1097 | 921 | - actions: [ | ||
1098 | 922 | - AddCommentAction { | ||
1099 | 923 | - id: addCommentAction | ||
1100 | 924 | - }, | ||
1101 | 925 | - SkipAction { | ||
1102 | 926 | - id: skipAction | ||
1103 | 927 | - } | ||
1104 | 928 | - ] | ||
1105 | 929 | - } | ||
1106 | 930 | + title: i18n.tr("Verification") | ||
1107 | 931 | + | ||
1108 | 932 | + head { | ||
1109 | 933 | + actions: [ | ||
1110 | 934 | + AddCommentAction { | ||
1111 | 935 | + id: addCommentAction | ||
1112 | 936 | + }, | ||
1113 | 937 | + SkipAction { | ||
1114 | 938 | + id: skipAction | ||
1115 | 939 | + } | ||
1116 | 940 | + ] | ||
1117 | 941 | } | ||
1118 | 942 | |||
1119 | 943 | TestPageBody { | ||
1120 | 944 | diff --git b/converged/components/WebViewer.qml a/converged/components/WebViewer.qml | ||
1121 | 945 | index 0348919..7b5ef78 100644 | ||
1122 | 946 | --- b/converged/components/WebViewer.qml | ||
1123 | 947 | +++ a/converged/components/WebViewer.qml | ||
1124 | 948 | @@ -21,7 +21,7 @@ | ||
1125 | 949 | |||
1126 | 950 | import QtQuick 2.0 | ||
1127 | 951 | import Ubuntu.Web 0.2 | ||
1128 | 952 | -import Ubuntu.Components 1.3 | ||
1129 | 953 | +import Ubuntu.Components 1.1 | ||
1130 | 954 | |||
1131 | 955 | |||
1132 | 956 | Page { | ||
1133 | 957 | diff --git b/converged/components/WelcomePage.qml a/converged/components/WelcomePage.qml | ||
1134 | 958 | index a310e41..cf328d0 100644 | ||
1135 | 959 | --- b/converged/components/WelcomePage.qml | ||
1136 | 960 | +++ a/converged/components/WelcomePage.qml | ||
1137 | 961 | @@ -21,7 +21,7 @@ | ||
1138 | 962 | */ | ||
1139 | 963 | |||
1140 | 964 | import QtQuick 2.0 | ||
1141 | 965 | -import Ubuntu.Components 1.3 | ||
1142 | 966 | +import Ubuntu.Components 1.1 | ||
1143 | 967 | |||
1144 | 968 | Page { | ||
1145 | 969 | id: welcomePage | ||
1146 | 970 | @@ -39,24 +39,17 @@ Page { | ||
1147 | 971 | startTestButton.unlatch(); | ||
1148 | 972 | state = "loaded"; | ||
1149 | 973 | } | ||
1150 | 974 | - header: PageHeader { | ||
1151 | 975 | - Component.onCompleted: { | ||
1152 | 976 | - console.log('DEPTH: ', pageStack.depth) | ||
1153 | 977 | - } | ||
1154 | 978 | - leadingActionBar { actions: [] } | ||
1155 | 979 | - trailingActionBar { | ||
1156 | 980 | - actions: [ | ||
1157 | 981 | - Action { | ||
1158 | 982 | - id: continueAction | ||
1159 | 983 | - iconName: "info" | ||
1160 | 984 | - text: i18n.tr("About") | ||
1161 | 985 | - onTriggered: aboutClicked() | ||
1162 | 986 | - } | ||
1163 | 987 | - ] | ||
1164 | 988 | - } | ||
1165 | 989 | + head { | ||
1166 | 990 | + actions: [ | ||
1167 | 991 | + Action { | ||
1168 | 992 | + id: continueAction | ||
1169 | 993 | + iconName: "info" | ||
1170 | 994 | + text: i18n.tr("About") | ||
1171 | 995 | + onTriggered: aboutClicked() | ||
1172 | 996 | + } | ||
1173 | 997 | + ] | ||
1174 | 998 | } | ||
1175 | 999 | |||
1176 | 1000 | - | ||
1177 | 1001 | Label { | ||
1178 | 1002 | id: welcomeText | ||
1179 | 1003 | |||
1180 | 1004 | diff --git b/converged/components/actions/AddCommentAction.qml a/converged/components/actions/AddCommentAction.qml | ||
1181 | 1005 | index b3977ce..d7daf53 100644 | ||
1182 | 1006 | --- b/converged/components/actions/AddCommentAction.qml | ||
1183 | 1007 | +++ a/converged/components/actions/AddCommentAction.qml | ||
1184 | 1008 | @@ -22,8 +22,8 @@ | ||
1185 | 1009 | /*! \brief Action component for adding a comment. */ | ||
1186 | 1010 | |||
1187 | 1011 | import QtQuick 2.0 | ||
1188 | 1012 | -import Ubuntu.Components 1.3 | ||
1189 | 1013 | -import Ubuntu.Components.Popups 1.3 | ||
1190 | 1014 | +import Ubuntu.Components 1.1 | ||
1191 | 1015 | +import Ubuntu.Components.Popups 0.1 | ||
1192 | 1016 | |||
1193 | 1017 | Action { | ||
1194 | 1018 | id: addCommentAction | ||
1195 | 1019 | diff --git b/converged/components/actions/SkipAction.qml a/converged/components/actions/SkipAction.qml | ||
1196 | 1020 | index 124c7dd..712d746 100644 | ||
1197 | 1021 | --- b/converged/components/actions/SkipAction.qml | ||
1198 | 1022 | +++ a/converged/components/actions/SkipAction.qml | ||
1199 | 1023 | @@ -22,8 +22,8 @@ | ||
1200 | 1024 | /*! \brief Action component for skipping a test. */ | ||
1201 | 1025 | |||
1202 | 1026 | import QtQuick 2.0 | ||
1203 | 1027 | -import Ubuntu.Components 1.3 | ||
1204 | 1028 | -import Ubuntu.Components.Popups 1.3 | ||
1205 | 1029 | +import Ubuntu.Components 1.1 | ||
1206 | 1030 | +import Ubuntu.Components.Popups 0.1 | ||
1207 | 1031 | |||
1208 | 1032 | Action { | ||
1209 | 1033 | id: skipAction | ||
1210 | 1034 | diff --git b/converged/tests/autopilot/checkbox_converged/__init__.py a/converged/tests/autopilot/checkbox_converged/__init__.py | ||
1211 | 1035 | index 547ab73..77e5220 100644 | ||
1212 | 1036 | --- b/converged/tests/autopilot/checkbox_converged/__init__.py | ||
1213 | 1037 | +++ a/converged/tests/autopilot/checkbox_converged/__init__.py | ||
1214 | 1038 | @@ -87,7 +87,7 @@ class ClickAppTestCase(base.UbuntuUIToolkitAppTestCase): | ||
1215 | 1039 | self.pointing_device.click_object(continue_btn) | ||
1216 | 1040 | category_page = self.app.wait_select_single( | ||
1217 | 1041 | objectName='categorySelectionPage', visible=True) | ||
1218 | 1042 | - self._click_action_button('trailingActionBar', 'toggleSelectionAction') | ||
1219 | 1043 | + self.main_view.get_header().click_action_button('toggleSelectionAction') | ||
1220 | 1044 | list_item = category_page.wait_select_single( | ||
1221 | 1045 | objectName='listItem', item_mod_id=category_id) | ||
1222 | 1046 | self.pointing_device.click_object(list_item) | ||
1223 | 1047 | @@ -96,7 +96,7 @@ class ClickAppTestCase(base.UbuntuUIToolkitAppTestCase): | ||
1224 | 1048 | self.pointing_device.click_object(continue_btn) | ||
1225 | 1049 | test_selection_page = self.app.wait_select_single( | ||
1226 | 1050 | objectName='testSelectionPage', visible=True) | ||
1227 | 1051 | - self._click_action_button('trailingActionBar', 'toggleSelectionAction') | ||
1228 | 1052 | + self.main_view.get_header().click_action_button('toggleSelectionAction') | ||
1229 | 1053 | # lists are built dynamically, so there is a chance that proxies for | ||
1230 | 1054 | # qml objects for list items that are down below are not yet present. | ||
1231 | 1055 | # To make sure everything is loaded and ready, scroll to the bottom | ||
1232 | 1056 | @@ -217,11 +217,6 @@ class ClickAppTestCase(base.UbuntuUIToolkitAppTestCase): | ||
1233 | 1057 | return os.path.join(self._get_path_to_app_source(), 'lib', 'py', | ||
1234 | 1058 | 'plainbox', 'data', 'plainbox-qml-modules') | ||
1235 | 1059 | |||
1236 | 1060 | - def _click_action_button(self, bar_name, actionName): | ||
1237 | 1061 | - action_bar = self.app.wait_select_single( | ||
1238 | 1062 | - objectName=bar_name, visible=True) | ||
1239 | 1063 | - action_bar.click_action_button(actionName) | ||
1240 | 1064 | - | ||
1241 | 1065 | def _launch_application_from_phablet(self): | ||
1242 | 1066 | # On phablet, we only run the tests against the installed click | ||
1243 | 1067 | # package. | ||
1244 | 1068 | diff --git b/converged/tests/autopilot/checkbox_converged/test_checkbox_converged.py a/converged/tests/autopilot/checkbox_converged/test_checkbox_converged.py | ||
1245 | 1069 | index e9fe916..c0bf6a3 100644 | ||
1246 | 1070 | --- b/converged/tests/autopilot/checkbox_converged/test_checkbox_converged.py | ||
1247 | 1071 | +++ a/converged/tests/autopilot/checkbox_converged/test_checkbox_converged.py | ||
1248 | 1072 | @@ -19,7 +19,7 @@ class TestCheckboxConverged(checkbox_converged.ClickAppTestCase): | ||
1249 | 1073 | if selectable_object_name is not None: | ||
1250 | 1074 | self.app.wait_select_single( | ||
1251 | 1075 | objectName=selectable_object_name, visible=True) | ||
1252 | 1076 | - self._click_action_button('trailingActionBar', 'skip') | ||
1253 | 1077 | + self.main_view.get_header().click_action_button('skip') | ||
1254 | 1078 | dialog = self.app.wait_select_single(objectName='dialog') | ||
1255 | 1079 | yes_btn = dialog.select_single(objectName='yesButton') | ||
1256 | 1080 | self.pointing_device.click_object(yes_btn) | ||
1257 | 1081 | @@ -62,7 +62,7 @@ class TestCheckboxConverged(checkbox_converged.ClickAppTestCase): | ||
1258 | 1082 | self.pointing_device.click_object(continue_btn) | ||
1259 | 1083 | category_page = self.app.wait_select_single( | ||
1260 | 1084 | objectName='categorySelectionPage', visible=True) | ||
1261 | 1085 | - self._click_action_button('trailingActionBar', 'toggleSelectionAction') | ||
1262 | 1086 | + self.main_view.get_header().click_action_button('toggleSelectionAction') | ||
1263 | 1087 | category_id = '2015.com.canonical.certification::normal' | ||
1264 | 1088 | list_item = category_page.wait_select_single( | ||
1265 | 1089 | objectName='listItem', item_mod_id=category_id) | ||
1266 | 1090 | @@ -299,7 +299,7 @@ class RerunTests(checkbox_converged.ClickAppTestCase): | ||
1267 | 1091 | self.process_sequence_of_clicks_on_pages(next_steps) | ||
1268 | 1092 | results_page = self.app.wait_select_single( | ||
1269 | 1093 | objectName='resultsPage', visible=True) | ||
1270 | 1094 | - self._click_action_button('trailingActionBar', 'rerunAction') | ||
1271 | 1095 | + self.main_view.get_header().click_action_button('rerunAction') | ||
1272 | 1096 | # we now should see a re-run screen; let's select the only test | ||
1273 | 1097 | rerun_page = self.app.wait_select_single( | ||
1274 | 1098 | objectName='rerunSelectionPage', visible=True) | ||
1275 | 1099 | @@ -313,7 +313,7 @@ class RerunTests(checkbox_converged.ClickAppTestCase): | ||
1276 | 1100 | self.process_sequence_of_clicks_on_pages(next_steps) | ||
1277 | 1101 | results_page = self.app.wait_select_single( | ||
1278 | 1102 | objectName='resultsPage', visible=True) | ||
1279 | 1103 | - self._click_action_button('trailingActionBar', 'rerunAction') | ||
1280 | 1104 | + self.main_view.get_header().click_action_button('rerunAction') | ||
1281 | 1105 | # we should see the re-run screen again | ||
1282 | 1106 | rerun_page = self.app.wait_select_single( | ||
1283 | 1107 | objectName='rerunSelectionPage', visible=True) | ||
1284 | 1108 | @@ -333,7 +333,7 @@ class RerunTests(checkbox_converged.ClickAppTestCase): | ||
1285 | 1109 | self.process_sequence_of_clicks_on_pages(next_steps) | ||
1286 | 1110 | results_page = self.app.wait_select_single( | ||
1287 | 1111 | objectName='resultsPage', visible=True) | ||
1288 | 1112 | - self._click_action_button('trailingActionBar', 'rerunAction') | ||
1289 | 1113 | + self.main_view.get_header().click_action_button('rerunAction') | ||
1290 | 1114 | # we now should see a re-run screen; let's select the only test | ||
1291 | 1115 | rerun_page = self.app.wait_select_single( | ||
1292 | 1116 | objectName='rerunSelectionPage', visible=True) | ||
1293 | 1117 | --- a/converged/components/DialogMgr.qml | ||
1294 | 1118 | +++ b/converged/components/DialogMgr.qml | ||
1295 | 1119 | @@ -19,8 +19,8 @@ | ||
1296 | 1120 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
1297 | 1121 | */ | ||
1298 | 1122 | import QtQuick 2.0 | ||
1299 | 1123 | -import Ubuntu.Components 1.3 | ||
1300 | 1124 | -import Ubuntu.Components.Popups 1.3 | ||
1301 | 1125 | +import Ubuntu.Components 1.1 | ||
1302 | 1126 | +import Ubuntu.Components.Popups 0.1 | ||
1303 | 1127 | |||
1304 | 1128 | Item { | ||
1305 | 1129 | function showDialog(caller, message, buttons) { | ||
1306 | 0 | 1130 | ||
1307 | === added file 'debian/patches/series' | |||
1308 | --- debian/patches/series 1970-01-01 00:00:00 +0000 | |||
1309 | +++ debian/patches/series 2016-09-29 12:03:24 +0000 | |||
1310 | @@ -0,0 +1,1 @@ | |||
1311 | 1 | components_1.3_removal.diff | ||
1312 | 0 | 2 | ||
1313 | === added file 'debian/rules' | |||
1314 | --- debian/rules 1970-01-01 00:00:00 +0000 | |||
1315 | +++ debian/rules 2016-09-29 12:03:24 +0000 | |||
1316 | @@ -0,0 +1,11 @@ | |||
1317 | 1 | #!/usr/bin/make -f | ||
1318 | 2 | export LANG= | ||
1319 | 3 | export LANGUAGE= | ||
1320 | 4 | export http_proxy=http://127.0.0.1:9 | ||
1321 | 5 | PPA_DISPLACEMENT=converged | ||
1322 | 6 | |||
1323 | 7 | %: | ||
1324 | 8 | dh $@ --sourcedirectory=$(PPA_DISPLACEMENT) | ||
1325 | 9 | |||
1326 | 10 | override_dh_auto_test: | ||
1327 | 11 | : | ||
1328 | 0 | 12 | ||
1329 | === added file 'debian/settings.json' | |||
1330 | --- debian/settings.json 1970-01-01 00:00:00 +0000 | |||
1331 | +++ debian/settings.json 2016-09-29 12:03:24 +0000 | |||
1332 | @@ -0,0 +1,15 @@ | |||
1333 | 1 | { | ||
1334 | 2 | "_comment": "file generated automatically with build-me", | ||
1335 | 3 | "clickBuildDate": "2015-07-05", | ||
1336 | 4 | "providersDir": "providers", | ||
1337 | 5 | "revision": "1.2.0", | ||
1338 | 6 | "testplan": "", | ||
1339 | 7 | "submission": { | ||
1340 | 8 | "type": "c3", | ||
1341 | 9 | "name": "Certification site", | ||
1342 | 10 | "input": [{ | ||
1343 | 11 | "paramName": "secure_id", | ||
1344 | 12 | "prompt": "Enter the Secure ID for the system-under-test:" | ||
1345 | 13 | }] | ||
1346 | 14 | } | ||
1347 | 15 | } | ||
1348 | 0 | 16 | ||
1349 | === added directory 'debian/source' | |||
1350 | === added file 'debian/source/format' | |||
1351 | --- debian/source/format 1970-01-01 00:00:00 +0000 | |||
1352 | +++ debian/source/format 2016-09-29 12:03:24 +0000 | |||
1353 | @@ -0,0 +1,1 @@ | |||
1354 | 1 | 3.0 (quilt) | ||
1355 | 0 | 2 | ||
1356 | === added file 'debian/tick.svg' | |||
1357 | --- debian/tick.svg 1970-01-01 00:00:00 +0000 | |||
1358 | +++ debian/tick.svg 2016-09-29 12:03:24 +0000 | |||
1359 | @@ -0,0 +1,154 @@ | |||
1360 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
1361 | 2 | <!-- Created with Inkscape (http://www.inkscape.org/) --> | ||
1362 | 3 | |||
1363 | 4 | <svg | ||
1364 | 5 | xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
1365 | 6 | xmlns:cc="http://creativecommons.org/ns#" | ||
1366 | 7 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
1367 | 8 | xmlns:svg="http://www.w3.org/2000/svg" | ||
1368 | 9 | xmlns="http://www.w3.org/2000/svg" | ||
1369 | 10 | xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||
1370 | 11 | xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||
1371 | 12 | width="90" | ||
1372 | 13 | height="90" | ||
1373 | 14 | id="svg4874" | ||
1374 | 15 | version="1.1" | ||
1375 | 16 | inkscape:version="0.48+devel r" | ||
1376 | 17 | viewBox="0 0 90 90.000001" | ||
1377 | 18 | sodipodi:docname="check02.svg"> | ||
1378 | 19 | <defs | ||
1379 | 20 | id="defs4876" /> | ||
1380 | 21 | <sodipodi:namedview | ||
1381 | 22 | id="base" | ||
1382 | 23 | pagecolor="#ffffff" | ||
1383 | 24 | bordercolor="#666666" | ||
1384 | 25 | borderopacity="1.0" | ||
1385 | 26 | inkscape:pageopacity="0.0" | ||
1386 | 27 | inkscape:pageshadow="2" | ||
1387 | 28 | inkscape:zoom="4.0745363" | ||
1388 | 29 | inkscape:cx="6.0865817" | ||
1389 | 30 | inkscape:cy="88.3168" | ||
1390 | 31 | inkscape:document-units="px" | ||
1391 | 32 | inkscape:current-layer="g1311" | ||
1392 | 33 | showgrid="true" | ||
1393 | 34 | showborder="true" | ||
1394 | 35 | fit-margin-top="0" | ||
1395 | 36 | fit-margin-left="0" | ||
1396 | 37 | fit-margin-right="0" | ||
1397 | 38 | fit-margin-bottom="0" | ||
1398 | 39 | inkscape:snap-bbox="true" | ||
1399 | 40 | inkscape:bbox-paths="true" | ||
1400 | 41 | inkscape:bbox-nodes="true" | ||
1401 | 42 | inkscape:snap-bbox-edge-midpoints="true" | ||
1402 | 43 | inkscape:snap-bbox-midpoints="true" | ||
1403 | 44 | inkscape:object-paths="true" | ||
1404 | 45 | inkscape:snap-intersection-paths="true" | ||
1405 | 46 | inkscape:object-nodes="true" | ||
1406 | 47 | inkscape:snap-smooth-nodes="true" | ||
1407 | 48 | inkscape:snap-midpoints="true" | ||
1408 | 49 | inkscape:snap-object-midpoints="true" | ||
1409 | 50 | inkscape:snap-center="true" | ||
1410 | 51 | showguides="true" | ||
1411 | 52 | inkscape:guide-bbox="true"> | ||
1412 | 53 | <inkscape:grid | ||
1413 | 54 | type="xygrid" | ||
1414 | 55 | id="grid5451" | ||
1415 | 56 | empspacing="6" /> | ||
1416 | 57 | <sodipodi:guide | ||
1417 | 58 | orientation="1,0" | ||
1418 | 59 | position="6,77" | ||
1419 | 60 | id="guide4063" /> | ||
1420 | 61 | <sodipodi:guide | ||
1421 | 62 | orientation="1,0" | ||
1422 | 63 | position="3,78" | ||
1423 | 64 | id="guide4065" /> | ||
1424 | 65 | <sodipodi:guide | ||
1425 | 66 | orientation="0,1" | ||
1426 | 67 | position="55,84" | ||
1427 | 68 | id="guide4067" /> | ||
1428 | 69 | <sodipodi:guide | ||
1429 | 70 | orientation="0,1" | ||
1430 | 71 | position="53,87" | ||
1431 | 72 | id="guide4069" /> | ||
1432 | 73 | <sodipodi:guide | ||
1433 | 74 | orientation="0,1" | ||
1434 | 75 | position="20,3" | ||
1435 | 76 | id="guide4071" /> | ||
1436 | 77 | <sodipodi:guide | ||
1437 | 78 | orientation="0,1" | ||
1438 | 79 | position="20,6" | ||
1439 | 80 | id="guide4073" /> | ||
1440 | 81 | <sodipodi:guide | ||
1441 | 82 | orientation="1,0" | ||
1442 | 83 | position="87,7" | ||
1443 | 84 | id="guide4075" /> | ||
1444 | 85 | <sodipodi:guide | ||
1445 | 86 | orientation="1,0" | ||
1446 | 87 | position="84,7" | ||
1447 | 88 | id="guide4077" /> | ||
1448 | 89 | <sodipodi:guide | ||
1449 | 90 | orientation="0,1" | ||
1450 | 91 | position="58,81" | ||
1451 | 92 | id="guide4074" /> | ||
1452 | 93 | <sodipodi:guide | ||
1453 | 94 | orientation="1,0" | ||
1454 | 95 | position="9,74" | ||
1455 | 96 | id="guide4076" /> | ||
1456 | 97 | <sodipodi:guide | ||
1457 | 98 | orientation="0,1" | ||
1458 | 99 | position="21,9" | ||
1459 | 100 | id="guide4078" /> | ||
1460 | 101 | <sodipodi:guide | ||
1461 | 102 | orientation="1,0" | ||
1462 | 103 | position="81,4" | ||
1463 | 104 | id="guide4080" /> | ||
1464 | 105 | </sodipodi:namedview> | ||
1465 | 106 | <metadata | ||
1466 | 107 | id="metadata4879"> | ||
1467 | 108 | <rdf:RDF> | ||
1468 | 109 | <cc:Work | ||
1469 | 110 | rdf:about=""> | ||
1470 | 111 | <dc:format>image/svg+xml</dc:format> | ||
1471 | 112 | <dc:type | ||
1472 | 113 | rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | ||
1473 | 114 | <dc:title></dc:title> | ||
1474 | 115 | </cc:Work> | ||
1475 | 116 | </rdf:RDF> | ||
1476 | 117 | </metadata> | ||
1477 | 118 | <g | ||
1478 | 119 | inkscape:label="Layer 1" | ||
1479 | 120 | inkscape:groupmode="layer" | ||
1480 | 121 | id="layer1" | ||
1481 | 122 | transform="translate(67.857146,-84.50504)"> | ||
1482 | 123 | <g | ||
1483 | 124 | transform="matrix(0,-1,-1,0,373.50506,516.50504)" | ||
1484 | 125 | id="g4845" | ||
1485 | 126 | style="display:inline"> | ||
1486 | 127 | <g | ||
1487 | 128 | transform="matrix(0,-1,-1,0,567.36222,615.36221)" | ||
1488 | 129 | id="g1311" | ||
1489 | 130 | inkscape:export-filename="envelope02.png" | ||
1490 | 131 | inkscape:export-xdpi="90" | ||
1491 | 132 | inkscape:export-ydpi="90"> | ||
1492 | 133 | <g | ||
1493 | 134 | id="g1313" | ||
1494 | 135 | transform="matrix(1.875,0,0,1.875,-366,-1657.8169)"> | ||
1495 | 136 | <rect | ||
1496 | 137 | transform="translate(0,804.3622)" | ||
1497 | 138 | y="152" | ||
1498 | 139 | x="288" | ||
1499 | 140 | height="48" | ||
1500 | 141 | width="48" | ||
1501 | 142 | id="rect1315" | ||
1502 | 143 | style="opacity:0.21171169;fill:none;stroke:none" /> | ||
1503 | 144 | </g> | ||
1504 | 145 | <path | ||
1505 | 146 | style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:15px;line-height:125%;font-family:Ubuntu;-inkscape-font-specification:Ubuntu;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#808080;fill-opacity:1;stroke:none" | ||
1506 | 147 | d="m 256.82022,151.04429 -47.05336,42.21417 -27.13214,-24.27339 -5.57027,6.29782 32.69198,34.39726 L 261,155.75985 Z" | ||
1507 | 148 | id="path4041-9" | ||
1508 | 149 | inkscape:connector-curvature="0" | ||
1509 | 150 | sodipodi:nodetypes="ccccccc" /> | ||
1510 | 151 | </g> | ||
1511 | 152 | </g> | ||
1512 | 153 | </g> | ||
1513 | 154 | </svg> | ||
1514 | 0 | 155 | ||
1515 | === added file 'debian/window-close.svg' | |||
1516 | --- debian/window-close.svg 1970-01-01 00:00:00 +0000 | |||
1517 | +++ debian/window-close.svg 2016-09-29 12:03:24 +0000 | |||
1518 | @@ -0,0 +1,19 @@ | |||
1519 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
1520 | 2 | <!-- Created with Inkscape (http://www.inkscape.org/) --> | ||
1521 | 3 | <svg id="svg7384" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"> | ||
1522 | 4 | <title id="title9167">Gnome Symbolic Icon Theme</title> | ||
1523 | 5 | <metadata id="metadata90"> | ||
1524 | 6 | <rdf:RDF> | ||
1525 | 7 | <cc:Work rdf:about=""> | ||
1526 | 8 | <dc:format>image/svg+xml</dc:format> | ||
1527 | 9 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> | ||
1528 | 10 | <dc:title>Gnome Symbolic Icon Theme</dc:title> | ||
1529 | 11 | </cc:Work> | ||
1530 | 12 | </rdf:RDF> | ||
1531 | 13 | </metadata> | ||
1532 | 14 | <g id="layer12" transform="translate(-60,-518)"> | ||
1533 | 15 | <g id="layer4-4-1" transform="translate(19,-242)"> | ||
1534 | 16 | <path id="path10839-9" style="block-progression:tb;text-indent:0;color:#bebebe;enable-background:new;text-transform:none;fill:#bebebe" d="m45 764h1c0.01037-0.00012 0.02079-0.00046 0.03125 0 0.25495 0.0112 0.50987 0.12858 0.6875 0.3125l2.281 2.28 2.312-2.28c0.266-0.23 0.447-0.3 0.688-0.31h1v1c0 0.28647-0.03434 0.55065-0.25 0.75l-2.2812 2.2812 2.25 2.25c0.188 0.19 0.281 0.45 0.281 0.72v1h-1c-0.2653-0.00001-0.53059-0.0931-0.71875-0.28125l-2.281-2.28-2.281 2.28c-0.188 0.19-0.454 0.28-0.719 0.28h-1v-1c-0.000003-0.26529 0.09306-0.53058 0.28125-0.71875l2.2812-2.25-2.281-2.28c-0.21-0.19-0.303-0.47-0.281-0.75v-1z"/> | ||
1535 | 17 | </g> | ||
1536 | 18 | </g> | ||
1537 | 19 | </svg> |