import QtQuick.Window 2.14
import QtQuick 2.14
Window {
width: 800
height: 480
visible: true
Image {
source: "qrc:/choose.png"
RotationAnimation on rotation {
id : id_totation
from: 0
to : 360
duration: 400
loops: Animation.Infinite
}
}
MouseArea{
anchors.fill: parent
onClicked: {
id_totation.running = !id_totation.running
}
}
}
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交