Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 2.8
- Image
- {
- property bool running: animation.running
- source: "qrc:/img/ring.png"
- anchors.centerIn: parent
- width: 75
- height: 75
- mipmap: true
- opacity: running ? 1 : 0
- Behavior on opacity { NumberAnimation {} }
- RotationAnimator on rotation
- {
- id: animation
- from: 0
- to: 360
- loops: Animation.Infinite
- duration: 1000
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement