Debian Codegraph @

qml/Components/EmptyDocument.qml

raw
1 /*
2 Copyright (C) 2015, 2016 Stefano Verzegnassi
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License 3 as published by
6 the Free Software Foundation.
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 General Public License for more details.
12
13 You should have received a copy of the GNU General Public License
14 along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17 import QtQuick 2.9
18 import Lomiri.Components 1.3
19 import Lomiri.Content 1.3
20
21 Item {
22 anchors.fill: parent
23
24 EmptyState {
25 id: state
26 anchors {
27 top: parent.top
28 topMargin: units.gu(16)
29 left: parent.left
30 right: parent.right
31 margins: units.gu(4)
32 verticalCenter: parent.verticalCenter
33 }
34 title: i18n.tr("Empty List")
35 subTitle: i18n.tr("Please, scan a Qr code with Barcode Reader app and tap 'Open url' or add info manually in the bottom edge menu")
36 iconName: "../../assets/scan.svg"
37
38 }
39 }