Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-29863

ProgressBar: Does not work properly with SequentialAnimation on Value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.1.0
    • Quick: Controls 1
    • 5a9b4219469890777044ce315b1410ff5adccf5d

    Description

      The following code does not work properly. The value is not updated with the animation. The progress bar is not animated.

      ProgressBar {
          id: pb
          value: progress
      
          property real progress: 0
          SequentialAnimation on progress {
              loops: Animation.Infinite
              running: true
              NumberAnimation {
                  from: 0
                  to: 1
                  duration: 3000
              }
              NumberAnimation {
                  from: 1
                  to: 0
                  duration: 3000
              }
          }
      
          onValueChanged: print(value)
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            carochao Caroline Chao (Inactive)
            carochao Caroline Chao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes