Debian Codegraph @

system-settings-plugin/NewAccountPage.qml

raw
1 /*
2 * Copyright (C) 2013-2015 Canonical Ltd.
3 *
4 * Contact: Alberto Mardegan <[email protected]>
5 *
6 * This program is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 3, as published
8 * by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranties of
12 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
13 * PURPOSE. See the GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 import QtQuick 2.9
20 import Lomiri.Components 1.3
21
22 Page {
23 id: root
24
25 header: PageHeader {
26 title: i18n.dtr(domain, "Add account")
27 flickable: flick
28 }
29
30 Flickable {
31 id: flick
32 anchors.fill: parent
33 contentHeight: contentItem.childrenRect.height
34 boundsBehavior: Flickable.StopAtBounds
35
36 ProviderPluginList {
37 onCreationFinished: {
38 if (created) {
39 pageStack.removePages(root)
40 }
41 }
42 }
43 }
44 }