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

No way to sync up two properties after the binding between them

    XMLWordPrintable

Details

    Description

      Unfortunately, it is not possible to achieve the old "QSlider/QSpinBox value sync up way". You recall, we connected the signals to the relevant slots, and the value of those were always in sync.

      I have tried to achieve it more times in qml codes, but I finally got the sake to report the issue. Hence, something like is going the end up "Binding loop" for no real reasons as far as I see:

      A: B;
      onValueChanged: {
      B = A;
      }

      Sadly, it is a very abstract issue, and I do not currently even know a workaround for this in my QML application. :/

      Attachments

        1. MainSettingsPage.qml
          5 kB
        2. twoway.qml
          0.5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            aalpert-nokia Alan Alpert (closed Nokia identity) (Inactive)
            lpapp Laszlo Papp
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes