2
* Copyright 2015 Canonical Ltd.
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.
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.
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/>.
18
import Ubuntu.Components 1.3
21
\qmltype ProgressionSlot
22
\inqmlmodule Ubuntu.Components 1.3
26
\brief ProgressionSlot holds an icon representing
27
the progression symbol.
29
ProgressionSlot is designed to provide an easy way for developers to
30
add a progression symbol to the list item created using \l ListItemLayout
33
\l ListItemLayout will automatically accomodate the progression symbol
34
as the last trailing slot inside the layout. For more
35
details, see \l ListItemLayout documentation.
37
The following is an example of how easy it is to implement list items using
38
\l ListItem with \l ListItemLayout and ProgressionSlot:
43
onClicked: pushPageOnStack()
46
title.text: "Push a new page on the PageStack"
57
name: LayoutMirroring.enabled ? "go-previous" : "go-next"
58
SlotsLayout.position: SlotsLayout.Last