title: how to get selected rows in QTableView
body: <p>After watching many threads about getting selected rows numbers, I am really confused.</p>
  
  <p>How do you get ROW numbers in <code>QTableView</code> using <code>QStandardItemModel</code> I used below selection model and behavior as</p>
  
  <pre><code>setSelectionBehavior(QAbstractItemView::SelectRows);
  setSelectionMode(QAbstractItemView::SingleSelection);
  </code></pre>
  
  <p>and if you have your own way of selecting can you explain how it works.
  Thanks for the help!</p>