forked from Shinonome/dots-hyprland
33 lines
734 B
QML
33 lines
734 B
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
import qs.modules.common
|
|
import qs.modules.common.widgets
|
|
import qs.modules.common.functions
|
|
import qs.modules.waffle.looks
|
|
|
|
SequentialAnimation {
|
|
id: root
|
|
|
|
required property var target
|
|
|
|
PropertyAction {
|
|
target: root.target
|
|
property: "ListView.delayRemove"
|
|
value: true
|
|
}
|
|
NumberAnimation {
|
|
target: root.target
|
|
property: "x"
|
|
to: root.target.width
|
|
duration: 250
|
|
easing.type: Easing.BezierSpline
|
|
easing.bezierCurve: Looks.transition.easing.bezierCurve.easeIn
|
|
}
|
|
PropertyAction {
|
|
target: root.target
|
|
property: "ListView.delayRemove"
|
|
value: false
|
|
}
|
|
}
|