mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 11:42:45 +08:00
22 lines
305 B
QML
22 lines
305 B
QML
|
import QtQuick
|
||
|
|
||
|
Item {
|
||
|
Text {
|
||
|
id: txt
|
||
|
anchors.centerIn: parent
|
||
|
text: "Hello, world!"
|
||
|
font.pixelSize: 64
|
||
|
}
|
||
|
|
||
|
PropertyAnimation {
|
||
|
target: txt
|
||
|
property: "opacity"
|
||
|
to: 0.3
|
||
|
duration: 2000
|
||
|
running: true
|
||
|
onFinished: {
|
||
|
roomScene.bigAnim.source = "";
|
||
|
}
|
||
|
}
|
||
|
}
|