Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/logout/Logout.qml
Show First 20 Lines • Show All 162 Lines • ▼ Show 20 Line(s) | 151 | RowLayout { | |||
---|---|---|---|---|---|
163 | LogoutButton { | 163 | LogoutButton { | ||
164 | id: rebootButton | 164 | id: rebootButton | ||
165 | iconSource: "system-reboot" | 165 | iconSource: "system-reboot" | ||
166 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Reboot") | 166 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Reboot") | ||
167 | action: root.rebootRequested | 167 | action: root.rebootRequested | ||
168 | KeyNavigation.left: suspendButton | 168 | KeyNavigation.left: suspendButton | ||
169 | KeyNavigation.right: shutdownButton | 169 | KeyNavigation.right: shutdownButton | ||
170 | focus: sdtype == ShutdownType.ShutdownTypeReboot | 170 | focus: sdtype == ShutdownType.ShutdownTypeReboot | ||
171 | visible: maysd | ||||
171 | } | 172 | } | ||
172 | LogoutButton { | 173 | LogoutButton { | ||
173 | id: shutdownButton | 174 | id: shutdownButton | ||
174 | iconSource: "system-shutdown" | 175 | iconSource: "system-shutdown" | ||
175 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Shutdown") | 176 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Shutdown") | ||
176 | action: root.haltRequested | 177 | action: root.haltRequested | ||
177 | KeyNavigation.left: rebootButton | 178 | KeyNavigation.left: rebootButton | ||
178 | KeyNavigation.right: logoutButton | 179 | KeyNavigation.right: logoutButton | ||
179 | focus: sdtype == ShutdownType.ShutdownTypeHalt | 180 | focus: sdtype == ShutdownType.ShutdownTypeHalt | ||
181 | visible: maysd | ||||
180 | } | 182 | } | ||
181 | LogoutButton { | 183 | LogoutButton { | ||
182 | id: logoutButton | 184 | id: logoutButton | ||
183 | iconSource: "system-log-out" | 185 | iconSource: "system-log-out" | ||
184 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Logout") | 186 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Logout") | ||
185 | action: root.logoutRequested | 187 | action: root.logoutRequested | ||
186 | KeyNavigation.left: shutdownButton | 188 | KeyNavigation.left: shutdownButton | ||
187 | KeyNavigation.right: suspendButton | 189 | KeyNavigation.right: suspendButton | ||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |