Debian Codegraph @

src/imports/Components/Styles/2.0/PageHeadStyle.qml

raw
1 /*
2 * Copyright 2014-2015 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 import QtQuick 2.4
17
18 /*!
19 \qmltype PageHeadStyle
20 \deprecated
21 \inqmlmodule Lomiri.Components.Styles 1.1
22 \ingroup style-api
23 \brief Style API for page header.
24
25 The component defines the style API for the page header component.
26 */
27 Item {
28 /*!
29 The height of the header excluding the height of the bottom divider and
30 the (optional) row that displays the sections.
31 */
32 property real contentHeight
33
34 /*!
35 The source of the image that separates the header from the contents of a \l MainView.
36 The separator will be drawn over the contents. Set to empty string to use the new
37 header separator.
38 \deprecated
39 */
40 property url separatorSource
41
42 /*!
43 The source of an additional image attached to the bottom of the separator. The contents
44 of the \l MainView will be drawn on top of the separator bottom image.
45 This property is ignored when separatorSource is an empty string.
46 \deprecated
47 */
48 property url separatorBottomSource
49
50 /*!
51 The size of the title font.
52 \deprecated
53 */
54 property string fontSize
55
56 /*!
57 The size of the title Label.
58 */
59 property int textSize
60
61 /*!
62 The weight of the title font.
63 */
64 property int fontWeight
65
66 /*!
67 \deprecated
68 */
69 property color textColor
70
71 /*!
72 Left margin of title text.
73 */
74 property real textLeftMargin
75
76 /*!
77 The number of slots for actions in the header, including the optional
78 (custom or automatic) back button in the left side of the header.
79 If the number of actions defined is larger than the numer of actions
80 specified here, extra actions are put into an overflow.
81 */
82 property int maximumNumberOfActions
83 }