~ubuntu-branches/ubuntu/trusty/unity8/trusty

« back to all changes in this revision

Viewing changes to qml/Dash/Generic/GenericCarousel.qml

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Michal Hruby, Gerry Boland, Michał Sawicz, Kevin Gunn, Albert Astals, Daniel d'Andrada, Michał Karnicki
  • Date: 2014-03-24 16:10:24 UTC
  • mfrom: (1.1.77)
  • Revision ID: package-import@ubuntu.com-20140324161024-h72j5vn3njrj6f3l
Tags: 7.84+14.04.20140324.4-0ubuntu1
[ Michal Hruby ]
* Change and extend the way non-installed scopes are started with the
  scope-tool.
* Switch to new scope backend and apply required visual adaptations.
  (LP: #1294294)

[ Gerry Boland ]
* Switch to new scope backend and apply required visual adaptations.
  (LP: #1294294)

[ Michał Sawicz ]
* Fix rating input action to always be "rated", not dynamic. Based on
  http://developer.ubuntu.com/api/devel/ubuntu-14.04/cplusplus/unity-
  scopes/previewwidgets.html#rating-input
* Switch to new scope backend and apply required visual adaptations.
  (LP: #1294294)

[ Kevin Gunn ]
* Switch to new scope backend and apply required visual adaptations.
  (LP: #1294294)

[ Albert Astals ]
* Switch to new scope backend and apply required visual adaptations.
  (LP: #1294294)
* LVWPH: cull lost items lost items will be released on the next
  updatePolish cycle but meanwhile don't let them be visible

[ Daniel d'Andrada ]
* Switch to new scope backend and apply required visual adaptations.
  (LP: #1294294)

[ Michał Karnicki ]
* Switch to new scope backend and apply required visual adaptations.
  (LP: #1294294)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 2013 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 as published by
6
 
 * the Free Software Foundation; version 3.
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
 
 
17
 
import QtQuick 2.0
18
 
import Ubuntu.Components 0.1
19
 
import "../../Components"
20
 
import ".."
21
 
 
22
 
DashCarousel {
23
 
    id: genericCarousel
24
 
    itemComponent: carouselDelegateGeneric
25
 
 
26
 
    Component {
27
 
        id: carouselDelegateGeneric
28
 
 
29
 
        BaseCarouselDelegate {
30
 
            id: item
31
 
            objectName: "carouselDelegate"
32
 
 
33
 
            UbuntuShape {
34
 
                anchors.fill: parent
35
 
                radius: "medium"
36
 
                borderSource: ""
37
 
                image: Image {
38
 
                    asynchronous: true
39
 
                    sourceSize { width: item.width; height: item.height }
40
 
                    source: model ? model.icon : ""
41
 
                }
42
 
            }
43
 
 
44
 
            BorderImage {
45
 
                anchors.centerIn: parent
46
 
                opacity: 0.6
47
 
                source: "../../Components/graphics/non-selected.sci"
48
 
                width: parent.width + units.gu(1.5)
49
 
                height: parent.height + units.gu(1.5)
50
 
            }
51
 
        }
52
 
    }
53
 
}