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

Give RangeSlider an equivalent to Slider's moved() signal

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 5.12.0 Alpha
    • 5.11
    • Quick: Controls 2
    • None
    • 583b7b0324a03337b8f21b5c2eacb6657c16ade7

    Description

      Currently the docs suggest using onValueChanged to react to value changes resulting from user interaction, which can cause issues (e.g. binding loops).

      See also QTBUG-57203.

      If grouped properties can have signals, they could look like this:

          first.onMoved: settings.foo = first.value
          second.onMoved: settings.bar = second.value
      

      Otherwise they could look like this:

          onFirstMoved: settings.foo = first.value
          onSecondMoved: settings.bar = second.value
      

      Attachments

        Issue Links

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

          Activity

            People

              mitch_curtis Mitch Curtis
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes