~aacid/unity8/add_override_warning

« back to all changes in this revision

Viewing changes to tests/plugins/Dash/cardcreator/5.res.cardcreator

  • Committer: Albert Astals Cid
  • Date: 2016-05-05 07:30:08 UTC
  • mfrom: (2341.1.42 unity8)
  • Revision ID: albert.astals@canonical.com-20160505073008-d8u2rkkh0sg1te0l
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
                                    objectName: "artShape";
30
30
                                    visible: image.status == Image.Ready;
31
31
                                    readonly property alias image: artImage;
32
 
                                    ShaderEffectSource {
33
 
                                        id: artShapeSource;
34
 
                                        sourceItem: artImage;
35
 
                                        anchors.centerIn: parent;
36
 
                                        width: 1;
37
 
                                        height: 1;
38
 
                                        hideSource: false;
39
 
                                    }
40
32
                                    Loader {
41
33
                                        anchors.fill: parent;
42
34
                                        visible: false;
44
36
                                        Component {
45
37
                                            id: artShapeShapeComponent;
46
38
                                            UbuntuShape {
47
 
                                                source: artShapeSource;
 
39
                                                source: artImage;
48
40
                                                sourceFillMode: UbuntuShape.PreserveAspectCrop;
49
41
                                                radius: "medium";
50
42
                                                aspect: {
59
51
                                        }
60
52
                                        Component {
61
53
                                            id: artShapeIconComponent;
62
 
                                            ProportionalShape { source: artShapeSource; aspect: UbuntuShape.DropShadow; }
 
54
                                            ProportionalShape { source: artImage; aspect: UbuntuShape.DropShadow; }
63
55
                                        }
64
56
                                    }
65
57
                                    readonly property real fixedArtShapeSizeAspect: (root.fixedArtShapeSize.height > 0 && root.fixedArtShapeSize.width > 0) ? root.fixedArtShapeSize.width / root.fixedArtShapeSize.height : -1;
80
72
                                        objectName: "artImage";
81
73
                                        source: artShapeLoader.cardArt;
82
74
                                        asynchronous: false;
 
75
                                        visible: !false;
83
76
                                        width: root.width;
84
77
                                        height: width / artShape.aspect;
85
78
                                    }