~mterry/unity8/less-ubuntucolors

« back to all changes in this revision

Viewing changes to qml/Stages/SpreadDelegate.qml

  • Committer: Michael Zanetti
  • Date: 2016-05-02 08:15:14 UTC
  • mfrom: (2325.1.50 unity8)
  • Revision ID: michael.zanetti@canonical.com-20160502081514-9cnbi0v1sqjkhym4
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright 2014-2015 Canonical Ltd.
 
2
 * Copyright 2014-2016 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 Lesser General Public License as published by
37
37
                                                      | Qt.LandscapeOrientation
38
38
                                                      | Qt.InvertedPortraitOrientation
39
39
                                                      | Qt.InvertedLandscapeOrientation
40
 
    readonly property alias appWindow: appWindow
41
40
 
42
41
    // to be set from outside
43
42
    property bool interactive: true
46
45
    property alias swipeToCloseEnabled: dragArea.enabled
47
46
    property bool closeable
48
47
    property alias application: appWindow.application
 
48
    property alias surface: appWindow.surface
49
49
    property int shellOrientationAngle
50
50
    property int shellOrientation
51
51
    property QtObject orientations
251
251
                    }
252
252
                    PropertyChanges {
253
253
                        target: appWindow
254
 
                        surfaceOrientationAngle: orientationAngle
 
254
                        surfaceOrientationAngle: appWindowWithShadow.orientationAngle
255
255
                    }
256
256
                },
257
257
                State {
293
293
 
294
294
            ApplicationWindow {
295
295
                id: appWindow
296
 
                objectName: application ? "appWindow_" + application.appId : "appWindow_null"
 
296
                objectName: "appWindow"
297
297
                focus: true
298
298
                anchors {
299
299
                    fill: parent