103.6.3
by jonas-drange
more skel |
1 |
/*
|
2 |
* Copyright 2016 Canonical Ltd.
|
|
3 |
*
|
|
4 |
* This program is free software; you can redistribute it and/or modify
|
|
5 |
* it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
|
|
12 |
*
|
|
13 |
* You should have received a copy of the GNU Lesser General Public License
|
|
14 |
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
15 |
*
|
|
16 |
* Authored by Jonas G. Drange <jonas.drange@canonical.com>
|
|
17 |
*/
|
|
18 |
||
19 |
import QtQuick 2.4 |
|
103.1.21
by Michał Sawicz
Don't mix imports |
20 |
import QtQuick.Layouts 1.1 |
103.6.3
by jonas-drange
more skel |
21 |
import Ubuntu.Components 1.3 |
103.6.8
by jonas-drange
mature the example |
22 |
import Ubuntu.Components.Popups 1.3 |
23 |
import Ubuntu.Components.ListItems 1.3 as ListItems |
|
103.6.3
by jonas-drange
more skel |
24 |
import Ubuntu.Settings.Components 0.1 |
25 |
import Ubuntu.Settings.Fingerprint 0.1 |
|
26 |
||
27 |
MainView { |
|
103.6.7
by jonas-drange
fingerprint image with a sense of progression |
28 |
width: units.gu(50) |
29 |
height: units.gu(90) |
|
103.6.8
by jonas-drange
mature the example |
30 |
|
103.6.3
by jonas-drange
more skel |
31 |
PageStack { |
32 |
id: pageStack
|
|
103.6.8
by jonas-drange
mature the example |
33 |
|
103.6.19
by jonas-drange
add mocking |
34 |
Component.onCompleted: push(fingerprintPage) |
103.6.8
by jonas-drange
mature the example |
35 |
|
103.6.10
by jonas-drange
comp page |
36 |
Component { |
37 |
id: fingerprintPage
|
|
103.6.58
by jonas-drange
refactor tests, and add the last piece of the naming |
38 |
Fingerprints { |
103.6.23
by jonas-drange
make enrollment work once again, albeit with deprecated animations |
39 |
onRequestPasscode: passcodeSet = !passcodeSet |
103.6.8
by jonas-drange
mature the example |
40 |
}
|
103.6.3
by jonas-drange
more skel |
41 |
}
|
42 |
}
|
|
43 |
}
|