title: QT4 Qtableview disable selection of rows
body: <p>I am using qtableview-s to show some data from sqlite tables. I have 2 tableviews  which are essentialy same. They are both showing bus stops (same model) in rows. In first table i am selecting departure and what i would like to achieve is that in second table all entries before the selected one are made non selectable so that user cannot move backward to select them. 
  I was able to hide them using <strong><em>setRowHidden(row,true)</em></strong> but i would like still to see them but not be able to select them.</p>
  
  <p>I tried using flags Qt::ItemFlags (using flags method in custom model) for the row but no matter what i use the rows are still selectable. Does anyone know how to disable row in QTableView so that is still shown but not selectable.</p>