[vlc-devel] [PATCH 02/21] qml: add animations to customization window (toolbareditor) listviews
Fatih Uzunoglu
fuzun54 at outlook.com
Sat Nov 7 17:53:21 CET 2020
---
.../gui/qt/dialogs/toolbar/qml/EditorDNDView.qml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/modules/gui/qt/dialogs/toolbar/qml/EditorDNDView.qml b/modules/gui/qt/dialogs/toolbar/qml/EditorDNDView.qml
index b44077ea30..5e659e79f5 100644
--- a/modules/gui/qt/dialogs/toolbar/qml/EditorDNDView.qml
+++ b/modules/gui/qt/dialogs/toolbar/qml/EditorDNDView.qml
@@ -45,6 +45,19 @@ ListView {
scrollBar.increase()
}
+ remove: Transition {
+ NumberAnimation { property: "opacity"; from: 1.0; to: 0; duration: 200 }
+ }
+
+ add: Transition {
+ NumberAnimation { property: "opacity"; from: 0; to: 1.0; duration: 200 }
+ }
+
+ displaced: Transition {
+ NumberAnimation { properties: "x"; duration: 200; easing.type: Easing.OutSine }
+ NumberAnimation { property: "opacity"; to: 1.0 }
+ }
+
MouseArea {
anchors.fill: parent
z: 1
--
2.25.1
More information about the vlc-devel
mailing list