title: QTableview row metadata
body: <p>In a QTableView I'm trying to add some metadata for each row. An obvious solution would be to use the <code>Qt::UserRole</code> on the last column. Something like this.</p>
  
  <pre><code>QStandardItemModel* model = new QStandardItemModel();
  QStandardItem* item = new QStandardItem();
  item-&gt;setData("Hello", Qt::DisplayRole);
  item-&gt;setData(rowMetadata, Qt::UserRole);
  model-&gt;setItem(ROW_0, COL_0, item);
  // Getting the metadata as follows
  model-&gt;data(model-&gt;index(ROW_0, COL_0), Qt::UserRole);
  </code></pre>
  
  <p>Something feels wrong though.
  Any more intuitive solutions ?</p>