title: How to show an image for few seconds in QML?
body: <p>I have an image that i need to show for few seconds. How to do it in QML ? </p>
  
  <p>Does anyone has an an example ?</p>
  
  <p>i have this one with state but its doest not appear . I need also to make ir repetitive</p>
  
  <pre><code>     Item {
           id: myimageanimation
           x:0
           y:0
            z:2000
  
  Image {
          id: rect
          x: 293
          y: 242
          source: "assets/ic_sound_popup_off.png"
      }
  
  
  states: [
          State {
              name: "actif"
              PropertyChanges {
                  target: rect
                  visible:true
  
              }
      },
          State {
              name:"inactif"
              PropertyChanges {
                  target:rect
                  visible : false
              }
      }
      ]
  
      transitions:  [
          Transition {
              NumberAnimation {
                  property: "visible"
                  duration:2000
                  easing.type: Easing.InOutQuad
              }
          }
      ]
  </code></pre>