Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-13510

Binding Editor shows mangled view of non-trivial bindings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • Some future release
    • QDS 4.5.1, QDS 4.6.0
    • Binding Editor
    • None

      It looks like the Binding Editor simply splits the expression at the first dot, without understanding QML. 

      Code

      import QtQuick
      
      Text {
          id: root
          width: 100
          renderType: Text.NativeRendering
          text: renderType === Text.NativeRendering ? "Native" : "Not Native"
      }
      

       

      Outcome
      The Binding Editor treats the binding for root.text as:

      • ID: renderType === Text
      • Property: NativeRendering ? "Native" : "Not Native"

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

            henning Henning Gründl
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes