Debian Codegraph @

src/imports/Components/ListItems/1.2/Divider.qml

raw
1 /*
2 * Copyright 2012 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
17 import QtQuick 2.4
18 import Lomiri.Components 1.2
19
20 /*!
21 \qmltype Divider
22 \inqmlmodule Lomiri.Components.ListItems 1.0
23 \ingroup lomiri-listitems
24 \brief Divider to break up list items into groups.
25 \note \b{The component is deprecated.}
26
27 Examples: see \l Header
28 */
29 Image {
30 source: Qt.resolvedUrl("../../artwork/ListItemDivider6px.png")
31 anchors {
32 left: parent ? parent.left : undefined
33 right: parent ? parent.right : undefined
34 }
35 height: units.gu(1)
36 }