title: Dynamic property name assignments inside delegate
body: <p>I am trying to include a Settings object inside the delegate of a Repeater so that I can save the value of a SpinBox. However, I can't figure out how to dynamically set the property alias name.</p>
  <p>What I want to achieve is to have the property alias name to be the same as the modelData. For example, for item1: &quot;property alias item1: box.value&quot;; for item2: &quot;property alias item2: box.value&quot;, etc.</p>
  <pre><code>Column {
      Repeater {
          model: [&quot;item1&quot;, &quot;item2&quot;, &quot;item3&quot;, &quot;item4&quot;, &quot;item5&quot;]
          delegate: RowLayout {
              Settings {
                  fileName: &quot;config&quot;
                  category: modelData
                  property alias value: box.value
              }
              Label {
                  text: modelData
              }
              SpinBox {
                  id: box
              }
          }
      }
  }
  </code></pre>
  <p>The code above generates the following settings, and is a work around to what I wanted to do:</p>
  <pre><code>[item1]
  value=&quot;&quot;
  [item2]
  value=&quot;&quot;
  [item3]
  value=&quot;&quot;
  ...
  </code></pre>
  <p>What I want is a single category with the values, like so:</p>
  <pre><code>[category]
  item1=&quot;&quot;
  item2=&quot;&quot;
  item3=&quot;&quot;
  ...
  </code></pre>