Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-4574

Support scope of root item properties

XMLWordPrintable

      All the property of the root item are part of the main context.

      import QtQuick 1.0

      Item {
      property int value

      Children

      { [...]}

      }

      Now the property value is directly accessible from all children of Item.

      We should support this since it is quite common to define some default margins etc. in the root item.

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

            thohartm Thomas Hartmann
            owerfeldt Carsten Owerfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes