Changeset View
Changeset View
Standalone View
Standalone View
plugins/kdecorations/aurorae/src/qml/AuroraeButton.qml
Show First 20 Lines • Show All 200 Lines • ▼ Show 20 Line(s) | 195 | PlasmaCore.FrameSvgItem { | |||
---|---|---|---|---|---|
201 | opacity: shown ? 1 : 0 | 201 | opacity: shown ? 1 : 0 | ||
202 | Behavior on opacity { | 202 | Behavior on opacity { | ||
203 | NumberAnimation { | 203 | NumberAnimation { | ||
204 | duration: auroraeTheme.animationTime | 204 | duration: auroraeTheme.animationTime | ||
205 | } | 205 | } | ||
206 | } | 206 | } | ||
207 | } | 207 | } | ||
208 | Component.onCompleted: { | 208 | Component.onCompleted: { | ||
209 | if (buttonType == DecorationOptions.DecorationButtonQuickHelp && !decoration.providesContextHelp) { | 209 | if (buttonType == DecorationOptions.DecorationButtonQuickHelp && !decoration.client.providesContextHelp) { | ||
210 | visible = false; | 210 | visible = false; | ||
211 | } else { | 211 | } else { | ||
212 | visible = buttonSvg.imagePath != ""; | 212 | visible = buttonSvg.imagePath != ""; | ||
213 | } | 213 | } | ||
214 | } | 214 | } | ||
215 | } | 215 | } |