| 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: albumPageLayoutRightPortrait |
| 27 |
|
| 28 |
mediaFrames: [ right ] |
| 29 |
|
| 30 |
FramePortrait { |
| 31 |
id: right |
| 32 |
|
| 33 |
anchors.fill: parent |
| 34 |
|
| 35 |
anchors.topMargin: albumPageLayoutRightPortrait.topMargin |
| 36 |
anchors.bottomMargin: albumPageLayoutRightPortrait.bottomMargin |
| 37 |
anchors.leftMargin: albumPageLayoutRightPortrait.gutterMargin |
| 38 |
anchors.rightMargin: albumPageLayoutRightPortrait.outerMargin |
| 39 |
|
| 40 |
mediaSource: (albumPageLayoutRightPortrait.mediaSourceList |
| 41 |
? albumPageLayoutRightPortrait.mediaSourceList[0] |
| 42 |
: null) |
| 43 |
load: albumPageLayoutRightPortrait.load |
| 44 |
isPreview: albumPageLayoutRightPortrait.isPreview |
| 45 |
} |
| 46 |
} |