Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML ANIMATION SUCCESSFUL COMPLETION

QML ANIMATION SUCCESSFUL COMPLETION

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
6 Posts 2 Posters 869 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Madesh R
    wrote on last edited by
    #1

    Hi,
    Is there some way to identify if number of loops specified inside an animation is completely finished.
    ex.
    ColorAnimation on color{
    id:blinkLoop
    from: "blue"
    to: "white"
    duration: 500
    running:root.blink
    loops: 60
    onStopped:
    {
    This will be called on stopping the animation,whether 60 loops have been completed or , not
    I need to know , once the animation is finished, whether all the 60 iterations got over or not

                }
    

    Thanks In Advance

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      No option exist to identify this. You can handle onColorChanged and finally you can check whether final color is reached or not. In this process you can only count how many times the change is applied.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      1
      • dheerendraD Offline
        dheerendraD Offline
        dheerendra
        Qt Champions 2022
        wrote on last edited by
        #3

        @Madesh-R Y your questions are coming in CAPITAL LETTERS ? Either capital or small letters people in the group are supportive. They will help you always :)

        Dheerendra
        @Community Service
        Certified Qt Specialist
        http://www.pthinks.com

        M 1 Reply Last reply
        0
        • dheerendraD dheerendra

          @Madesh-R Y your questions are coming in CAPITAL LETTERS ? Either capital or small letters people in the group are supportive. They will help you always :)

          M Offline
          M Offline
          Madesh R
          wrote on last edited by
          #4

          @dheerendra
          Hi Sir , I do type in lower case letters only. But not sure why it's been seen in Upper case format

          1 Reply Last reply
          0
          • dheerendraD Offline
            dheerendraD Offline
            dheerendra
            Qt Champions 2022
            wrote on last edited by
            #5

            Cool. Did you try with solution provided ? Does it work ?

            Dheerendra
            @Community Service
            Certified Qt Specialist
            http://www.pthinks.com

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Madesh R
              wrote on last edited by
              #6

              @dheerendra
              @dheerendra

              Yeah I tried Mouse Area problem , and worked for me. Now trying on finding successful completion of color animation.
              Since I am a new user to the forum I can reply only once in an hour
              Thanks for the help

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved