title: How to disable dynamic object-management when visible items in qml listview changes?
body: <p>I have a QML ListView, where the delegate is real c++ attached to the device component, using threads and <code>QWidgets</code>.</p>
  
  <p>But when I scroll the ListView, or expand the delegate to the program window - not visible delegates are destroyed.</p>
  
  <p>What can I do to save delegates in my <code>ListModel</code>?</p>
  
  <p>My example code: </p>
  
  <pre><code>    import Qt 4.7
  
      Rectangle {
      width: 320; height: 200; color: "white"
      Text {
          id: debugText
          font.pixelSize: 24
          color:"blue"
          text: "count of created delegates: " + added.toString()
      }
      property int added: 0
      Component {
          id: delegate
          Item {
              id: wrapper
              Component.onCompleted: added += 1
              width: 180; height: 50
              Column {
                  x: 5; y: 5
                  Text { text: '&lt;b&gt;Name:&lt;/b&gt; ' + name }
                  Text { text: '&lt;b&gt;Number:&lt;/b&gt; ' + number }
              }
          }
      }
      ListView {
          width: parent.width; height: parent.height
          model: contactModel
          delegate: delegate
      }
  
      ListModel {
          id: contactModel
          ListElement {
              name: "Bill Smith"
              number: "555 3264"
          }
          ListElement {
              name: "John Brown"
              number: "555 8426"
          }
          ListElement {
              name: "Sam Wise"
              number: "555 0473"
          }
          ListElement {
              name: "Bill Smith"
              number: "555 3264"
  
          }
          ListElement {
              name: "John Brown"
              number: "555 8426"
          }
          ListElement {
              name: "Sam Wise"
              number: "555 0473"
          }
      }
  }
  </code></pre>
  
  <p>Thanks! I solve the problem!
  First way - i create Flickable object, Column and Repeater, and this solution suits me.
  Second way - for multiple grids in main view (SCADA-like programm) i use QObjectList, where each Object is QObjectList, where each object is my DataObject :) </p>