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

Allow non-binding declarative property assignment in QML

XMLWordPrintable

       

      MyComponent
      {    
       
          data1 : data1Source // this makes a binding, whenever data1Source changes it updates data1  
       
          data2 = data2NeverChangedSource // this assigns value only when instantiation of the component. Analogue of onCompleted:
      { data2 = data2NeverChangedSource }
      }
      

       

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

            qtqmlteam Qt Qml Team User
            kofr Konstantinr
            Votes:
            5 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes