SceneEffect QML Type
The SceneEffect type provides a way to implement effects that replace the default scene with a custom one. More...
| Import Statement: | import org.kde.kwin |
Properties
- configuration : KConfigPropertyMap
- data : list<QtObject>
- visible : bool
Detailed Description
Example usage:
SceneEffect {
id: root
delegate: Rectangle {
color: "blue"
}
ShortcutHandler {
name: "Toggle Effect"
text: i18n("Toggle Effect")
sequence: "Meta+E"
onActivated: root.visible = !root.visible;
}
}
Property Documentation
configuration : KConfigPropertyMap
The key-value store with the effect settings.
data : list<QtObject> [default]
visible : bool
Whether the effect is shown. Setting this property to true activates the effect; setting this property to false will deactivate the effect and the screen views will be unloaded at the next available time.