import QtQuick 1.0

Image {
     id: busyindicator
     property bool on: false
     property bool larger: false

     source: (larger) ? "gfx/qtg_anim_spinner_large_1.svg" : "gfx/qtg_anim_spinner_small_1_inverse.svg";
     visible: busyindicator.on

     NumberAnimation on rotation {
         running: busyindicator.on; from: 0; to: 360; loops: Animation.Infinite; duration: 1200
     }
 }
