on xenial help sign in
Merge pull request #129 from ChristianPauly/patch-1
7fd6cacRodney
qml/Launcher/Drawer.qml+22
@@ -21,6 +21,8 @@ import Utils 0.1
21import "../Components"
21import "../Components"
22import Qt.labs.settings 1.0
22import Qt.labs.settings 1.0
23import GSettings 1.0
23import GSettings 1.0
24+import AccountsService 0.1
25+import QtGraphicalEffects 1.0
24
26
25FocusScope {
27FocusScope {
26 id: root
28 id: root
@@ -72,6 +74,26 @@ FocusScope {
72 color: "#111111"
74 color: "#111111"
73 opacity: 0.99
75 opacity: 0.99
74
76
77+ Image {
78+ id: background
79+ anchors.fill: parent
80+ source: AccountsService.backgroundFile
81+ fillMode: Image.PreserveAspectCrop
82+ }
83+
84+ FastBlur {
85+ anchors.fill: background
86+ source: background
87+ radius: 128
88+ }
89+
90+ // Workaround for images with fastblur can't use opacity
91+ Rectangle {
92+ anchors.fill: background
93+ color: parent.color
94+ opacity: 0.67
95+ }
96+
75 MouseArea {
97 MouseArea {
76 id: drawerHandle
98 id: drawerHandle
77 anchors {
99 anchors {