what am i doing with my life borrowed Manjaro's slideshow for no reason

This commit is contained in:
2026-07-27 22:07:20 +02:00
parent d015c02e44
commit 726c969721
16 changed files with 2358 additions and 203 deletions
@@ -0,0 +1,58 @@
import QtQuick 2.15
Item {
property bool showSmoke: false
Item {
id: rocketNoSmoke
property bool rocketFrame: false
Timer {
interval: 200
running: !showSmoke
repeat: true
onTriggered: rocketNoSmoke.rocketFrame = !rocketNoSmoke.rocketFrame
}
width: 250
height: Math.min(rocket_a.paintedHeight, rocket_b.paintedHeight)
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
Image {
opacity: rocketNoSmoke.rocketFrame?1:0
width: parent.width
id: rocket_a
fillMode: Image.PreserveAspectFit
source: "rocket_a.svg"
}
Image {
opacity: rocketNoSmoke.rocketFrame?0:1
width: parent.width
id: rocket_b
fillMode: Image.PreserveAspectFit
source: "rocket_b.svg"
}
}
Image {
opacity: showSmoke?1:0
width: 250
anchors.top: parent.top
anchors.horizontalCenter: parent.horizontalCenter
id: rocketSmoke
fillMode: Image.PreserveAspectFit
source: "rocket_smoke.svg"
Behavior on opacity {
NumberAnimation{}
}
}
}