Debian Codegraph @

rc/qml/AlbumViewer/AlbumInternals/AlbumPageLayout.qml

raw
1 /*
2 * Copyright (C) 2012-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 General Public License version 3 as
6 * published by 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 * Authors:
17 * Charles Lindsay <[email protected]>
18 */
19
20 import QtQuick 2.9
21
22 // AlbumPageLayouts are all loaded from AlbumPageContents, and should inherit
23 // its properties.
24 Item {
25 id: albumPageLayout
26
27 /*!
28 */
29 property variant mediaSourceList: (parent ? parent.mediaSourceList : null)
30
31 /*!
32 */
33 property real topMargin: (parent ? parent.topMargin : 0)
34 /*!
35 */
36 property real bottomMargin: (parent ? parent.bottomMargin : 0)
37 /*!
38 */
39 property real gutterMargin: (parent ? parent.gutterMargin : 0)
40 /*!
41 */
42 property real outerMargin: (parent ? parent.outerMargin : 0)
43 /*!
44 */
45 property real insideMargin: (parent ? parent.insideMargin : 0)
46
47 /*!
48 */
49 property bool load: (parent ? parent.load : false)
50 /*!
51 */
52 property bool isPreview: (parent ? parent.isPreview : false)
53
54 /*!
55 */
56 property variant mediaFrames: []
57
58 width: (parent ? parent.width : 0)
59 height: (parent ? parent.height : 0)
60 }