Files
QodeAssist/UIControls/qml/FadeListItemAnimation.qml
2026-06-08 11:25:18 +02:00

27 lines
575 B
QML

// Copyright (C) 2025-2026 Petr Mironychev
// SPDX-License-Identifier: GPL-3.0-or-later
// Additional attribution terms under GPLv3 §7(b) apply — see LICENSE
import QtQuick
ParallelAnimation {
id: root
property Item targetObject: parent
NumberAnimation {
target: root.targetObject
property: "opacity"
to: 0
duration: 200
easing.type: Easing.InQuad
}
NumberAnimation {
target: root.targetObject
property: "height"
to: 0
duration: 250
easing.type: Easing.InQuad
}
}