Changeset View
Changeset View
Standalone View
Standalone View
sddm-theme/Main.qml
Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Line(s) | 103 | WallpaperFader { | |||
---|---|---|---|---|---|
105 | anchors.fill: parent | 105 | anchors.fill: parent | ||
106 | state: loginScreenRoot.uiVisible ? "on" : "off" | 106 | state: loginScreenRoot.uiVisible ? "on" : "off" | ||
107 | source: wallpaper | 107 | source: wallpaper | ||
108 | mainStack: mainStack | 108 | mainStack: mainStack | ||
109 | footer: footer | 109 | footer: footer | ||
110 | clock: clock | 110 | clock: clock | ||
111 | } | 111 | } | ||
112 | 112 | | |||
113 | DropShadow { | | |||
114 | id: clockShadow | | |||
115 | anchors.fill: clock | | |||
116 | source: clock | | |||
117 | horizontalOffset: 0 | | |||
118 | verticalOffset: 1 | | |||
119 | radius: 12 | | |||
120 | samples: 32 | | |||
121 | spread: 0.2 | | |||
122 | color: Qt.rgba(0, 0, 0, 1) | | |||
123 | Behavior on opacity { | | |||
124 | OpacityAnimator { | | |||
125 | duration: 1000 | | |||
126 | easing.type: Easing.InOutQuad | | |||
127 | } | | |||
128 | } | | |||
129 | } | | |||
130 | | ||||
131 | Clock { | 113 | Clock { | ||
132 | id: clock | 114 | id: clock | ||
133 | visible: y > 0 | 115 | visible: y > 0 | ||
134 | property Item shadow: clockShadow | | |||
135 | y: (userListComponent.userList.y + mainStack.y)/2 - height/2 | 116 | y: (userListComponent.userList.y + mainStack.y)/2 - height/2 | ||
136 | anchors.horizontalCenter: parent.horizontalCenter | 117 | anchors.horizontalCenter: parent.horizontalCenter | ||
137 | } | 118 | } | ||
138 | 119 | | |||
139 | 120 | | |||
140 | StackView { | 121 | StackView { | ||
141 | id: mainStack | 122 | id: mainStack | ||
142 | anchors { | 123 | anchors { | ||
▲ Show 20 Lines • Show All 291 Lines • Show Last 20 Lines |