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

Port Q_GADGET-based properties to new bindable properties

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Positioning
    • Labels:
      None
    • Technical Risk:
      Normal

      Description

      This task is a spike for future.

      Currently Q_GADGETs do not have support for bindable properties. Implementing it is a tricky task because value classes can be copied, and it's unclear how to deal with binding when a class is copied.

      Current implementation of QBindable stores a pointer to the property instance, which means that if the Q(E)SDP is used, the binding can actually track changes in the incorrect copy of the object.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              ivan.solovev Ivan Solovev
              Reporter:
              ivan.solovev Ivan Solovev
              PM Owner:
              Vladimir Minenko Vladimir Minenko
              RnD Owner:
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes