animation

    0

    0

    AnimatedImage{
      id:Animation{
        x:100;y:50
        width:100;height:100
        source:"/home/username/Downloads/animation.gif"
        onStatusChanged: {
          if (status == AnimatedImage.Ready) {
            frames = frameCount
          }
        }
    
      }
    }
    
    Rectangle{
      x:100;y:260;width:100;height:100
      color:"red"
      Rectangle {
        width: 4; height: 24
        color: "black"
        x:(parent.width - width) *animation.currentFrame
      }
      Text{
        text:"Frame %1 of %2".arg(animation.currentFrame)
        color:"white"
        font.pixelSize: 20
    
      }
    
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.