@@ -29,22 +29,17 @@ Showable {
29 property alias background: greeterBackground.source
29 property alias background: greeterBackground.source
30 property alias backgroundSourceSize: greeterBackground.sourceSize
30 property alias backgroundSourceSize: greeterBackground.sourceSize
31 property alias hasCustomBackground: backgroundShade.visible
31 property alias hasCustomBackground: backgroundShade.visible
32+ property alias backgroundShadeOpacity: backgroundShade.opacity
32 property real panelHeight
33 property real panelHeight
33 property var infographicModel
34 property var infographicModel
34 property bool draggable: true
35 property bool draggable: true
36− property alias showInfographic: infographicsLoader.active
37+ property bool showInfographic: false
37 property real infographicsLeftMargin: 0
38 property real infographicsLeftMargin: 0
38 property real infographicsTopMargin: 0
39 property real infographicsTopMargin: 0
39 property real infographicsRightMargin: 0
40 property real infographicsRightMargin: 0
40 property real infographicsBottomMargin: 0
41 property real infographicsBottomMargin: 0
42− property alias blurAreaHeight: loginBoxEffects.height
43− property alias blurAreaWidth: loginBoxEffects.width
44− property alias blurAreaX: loginBoxEffects.x
45− property alias blurAreaY: loginBoxEffects.y
46− property alias blurRadius: loginBoxBlur.radius
48 readonly property real showProgress: MathUtils.clamp((width - Math.abs(x + launcherOffset)) / width, 0, 1)
43 readonly property real showProgress: MathUtils.clamp((width - Math.abs(x + launcherOffset)) / width, 0, 1)
50 signal tease()
45 signal tease()
@@ -104,48 +99,17 @@ Showable {
109− color: "transparent"
112− ShaderEffectSource {
115− sourceItem: greeterBackground
116− anchors.centerIn: loginBoxEffects
117− width: loginBoxEffects.width
118− height: loginBoxEffects.height
119− sourceRect: Qt.rect(x,y, width, height)
125− anchors.fill: effectSource
126− source: effectSource
127− transparentBorder: true
130 // Darkens wallpaper so that we can read text on it and see infographic
102 // Darkens wallpaper so that we can read text on it and see infographic
131 Rectangle {
103 Rectangle {
132 id: backgroundShade
104 id: backgroundShade
133 objectName: "backgroundShade"
105 objectName: "backgroundShade"
134 anchors.fill: parent
106 anchors.fill: parent
135 color: "black"
107 color: "black"
137 visible: false
108 visible: false
141− id: infographicsLoader
112+ id: infographicsArea
142− objectName: "infographicsLoader"
143− sourceComponent:Infographics {
145− objectName: "infographics"
146− model: root.infographicModel
147− clip: true // clip large data bubbles
150 anchors {
114 anchors {
151 leftMargin: root.infographicsLeftMargin
115 leftMargin: root.infographicsLeftMargin
@@ -159,6 +123,20 @@ Showable {
127+ id: infographicsLoader
128+ objectName: "infographicsLoader"
129+ active: root.showInfographic && infographicsArea.width > units.gu(32)
130+ anchors.fill: infographicsArea
132+ sourceComponent:Infographics {
134+ objectName: "infographics"
135+ model: root.infographicModel
136+ clip: true // clip large data bubbles
163 id: swipeHint
141 id: swipeHint
164 objectName: "swipeHint"
142 objectName: "swipeHint"