2
* Copyright (C) 2014 Canonical Ltd
4
* This file is part of Ubuntu Clock App
6
* Ubuntu Clock App is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 3 as
8
* published by the Free Software Foundation.
10
* Ubuntu Clock App is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
import Ubuntu.Components 1.1
23
Component which displays an empty state (approved by design). It offers an
24
icon, title and subtitle to describe the empty state.
31
property alias iconName: emptyIcon.name
32
property alias title: emptyLabel.text
33
property alias subTitle: emptySublabel.text
35
height: childrenRect.height
39
anchors.horizontalCenter: parent.horizontalCenter
47
anchors.top: emptyIcon.bottom
48
anchors.topMargin: units.gu(5)
49
anchors.horizontalCenter: parent.horizontalCenter
56
anchors.top: emptyLabel.bottom
57
anchors.horizontalCenter: parent.horizontalCenter