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

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

XMLWordPrintable

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

      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
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes