Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/lockscreen/LockScreenUi.qml
Show First 20 Lines • Show All 155 Lines • ▼ Show 20 Line(s) | 155 | WallpaperFader { | |||
---|---|---|---|---|---|
156 | anchors.fill: parent | 156 | anchors.fill: parent | ||
157 | state: lockScreenRoot.uiVisible ? "on" : "off" | 157 | state: lockScreenRoot.uiVisible ? "on" : "off" | ||
158 | source: wallpaper | 158 | source: wallpaper | ||
159 | mainStack: mainStack | 159 | mainStack: mainStack | ||
160 | footer: footer | 160 | footer: footer | ||
161 | clock: clock | 161 | clock: clock | ||
162 | } | 162 | } | ||
163 | 163 | | |||
164 | DropShadow { | ||||
165 | id: clockShadow | ||||
166 | anchors.fill: clock | ||||
167 | source: clock | ||||
168 | horizontalOffset: 1 | ||||
169 | verticalOffset: 1 | ||||
170 | radius: 6 | ||||
171 | samples: 14 | ||||
172 | spread: 0.3 | ||||
173 | color: "black" // matches Breeze window decoration and desktopcontainment | ||||
174 | Behavior on opacity { | ||||
175 | OpacityAnimator { | ||||
176 | duration: 1000 | ||||
177 | easing.type: Easing.InOutQuad | ||||
178 | } | ||||
179 | } | ||||
180 | } | ||||
181 | | ||||
164 | Clock { | 182 | Clock { | ||
165 | id: clock | 183 | id: clock | ||
166 | property Item shadow: clockShadow | 184 | property Item shadow: clockShadow | ||
167 | anchors.horizontalCenter: parent.horizontalCenter | 185 | anchors.horizontalCenter: parent.horizontalCenter | ||
168 | y: (mainBlock.userList.y + mainStack.y)/2 - height/2 | 186 | y: (mainBlock.userList.y + mainStack.y)/2 - height/2 | ||
169 | visible: y > 0 | 187 | visible: y > 0 | ||
170 | Layout.alignment: Qt.AlignBaseline | 188 | Layout.alignment: Qt.AlignBaseline | ||
171 | } | 189 | } | ||
▲ Show 20 Lines • Show All 286 Lines • Show Last 20 Lines |