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

Add explicit indeterminate property to QProgressBar

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.8.0
    • None

      Currently it's possible to mark this widget as indeterminate but it is done by changing other properties in not obvious way (at least it is mentioned in documentation now...).
      Instead it would be cleaner and more obvious to have special property to do so, like in QML ProgressBar.
      It's also silly that it requires to reset range every time when such state should be toggled which may cause subtle errors.

      Getter for such property should check for old approach (range set to 0, 0), but internally separate boolean property could be used to avoid minor data loss (prevent need for range reset).

      QStyleOptionProgressBar could make use of explicit toggle too.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            emdek MichaƂ Dutkiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes