~bfiller/gallery-app/revert-1245

« back to all changes in this revision

Viewing changes to rc/qml/PickerScreen.qml

  • Committer: Bill Filler
  • Date: 2015-11-10 02:39:01 UTC
  • Revision ID: bill.filler@canonical.com-20151110023901-h0w20x8dyznnzldy
revert back to rev 1242

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2013-2015 Canonical Ltd
 
2
 * Copyright (C) 2013 Canonical Ltd
3
3
 *
4
4
 * This program is free software: you can redistribute it and/or modify
5
5
 * it under the terms of the GNU General Public License version 3 as
14
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15
15
 */
16
16
 
17
 
import QtQuick 2.4
18
 
import Ubuntu.Components 1.3
 
17
import QtQuick 2.0
 
18
import Ubuntu.Components 1.1
19
19
import Gallery 1.0
20
20
import "Components"
21
21
import "OrganicView"
30
30
    id: overview
31
31
    objectName: "pickerMainView"
32
32
 
 
33
    useDeprecatedToolbar: false
 
34
 
33
35
    function setHeaderVisibility(visible)
34
36
    {
35
37
        header.visible = visible;    
171
173
                            onSelected: photosGrid.positionViewAtIndex(index, GridView.Contain);
172
174
                        }
173
175
 
 
176
                        Image {
 
177
                            anchors.fill: parent
 
178
                            source: "../img/background-paper.png"
 
179
                            fillMode: Image.Tile
 
180
                        }
 
181
 
174
182
                        MediaGrid {
175
183
                            id: photosGrid
176
184
                            anchors.fill: parent