Debian Codegraph @

rc/qml/AlbumViewer/AlbumInternals/AlbumPageLayoutLeftPortrait.qml

raw
1 /*
2 * Copyright (C) 2011-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 * Jim Nelson <[email protected]>
18 * Charles Lindsay <[email protected]>
19 */
20
21 import QtQuick 2.9
22
23 /*!
24 */
25 AlbumPageLayout {
26 id: albumPageLayoutLeftPortrait
27
28 mediaFrames: [ left ]
29
30 FramePortrait {
31 id: left
32
33 anchors.fill: parent
34
35 anchors.topMargin: albumPageLayoutLeftPortrait.topMargin
36 anchors.bottomMargin: albumPageLayoutLeftPortrait.bottomMargin
37 anchors.leftMargin: albumPageLayoutLeftPortrait.outerMargin
38 anchors.rightMargin: albumPageLayoutLeftPortrait.gutterMargin
39
40 mediaSource: (albumPageLayoutLeftPortrait.mediaSourceList
41 ? albumPageLayoutLeftPortrait.mediaSourceList[0]
42 : null)
43 load: albumPageLayoutLeftPortrait.load
44 isPreview: albumPageLayoutLeftPortrait.isPreview
45 }
46 }