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

Slider should provide a way to report the current value while being dragged

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.7.0 Beta
    • Fix Version/s: 5.8.0 Alpha
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Commits:
      221c3ce846e5a6167aa0b2d356c23d5b9c7e32cb

      Description

      Currently, Slider reports changes of visual position on a continuous basis, but not on value, which is set only when the handle is released. While I understand the rationale behind this choice, it would be good to provide a way to get updated value in real time, for instance if another control depends on it (which is my use case).

      I see two ways of doing so:

      • provide a property like visualValue
      • provide a public method that maps the position to the value

        Attachments

        For Gerrit Dashboard: QTBUG-53847
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            stephane.magnenat St├ęphane Magnenat
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes