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

Allow non-binding declarative property assignment in QML

    XMLWordPrintable

Details

    Description

       

      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 }
      }
      

       

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes