mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-11-13 21:42:52 -05:00
feat: Add disappearing tools and thinking component from chat
This commit is contained in:
@ -11,6 +11,7 @@ qt_add_qml_module(QodeAssistUIControls
|
||||
qml/Badge.qml
|
||||
qml/QoAButton.qml
|
||||
qml/QoATextSlider.qml
|
||||
qml/FadeListItemAnimation.qml
|
||||
)
|
||||
|
||||
target_link_libraries(QodeAssistUIControls
|
||||
|
||||
22
UIControls/qml/FadeListItemAnimation.qml
Normal file
22
UIControls/qml/FadeListItemAnimation.qml
Normal file
@ -0,0 +1,22 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user