title: Qt integer array model
body: <p>For instance, to represent a <code>QStringList</code> int GUI listview we just create a <code>QStringListModel</code> and bound it to the GUI. <a href="http://www.youtube.com/watch?v=EJf-vZ6FQfc" rel="nofollow">example here</a>.</p>
  
  <p>In my case i have a file filled with integers, what i whant to do is parse the file into my memory for instance in integer array so i could work with data. Now, how do i bound this data to my gui, and if integer array is not apropriate, what kind of data structure should i choose?</p>
  
  <pre><code>int array[3] = {1,3,2};
  model = new Q***Model(this);
  model-&gt;set***(array);
  </code></pre>