title: pyQt4 - How to select table rows and disable editing cells
body: <p>I create a QTableWidget with:</p>
  
  <pre><code>self.table = QtGui.QTableWidget()
  self.table.setObjectName('table')
  self.table.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
  verticalLayout.addWidget(self.table)
  </code></pre>
  
  <p>with this selection it is possible to select rows but I don't want that the user can edit any cells of this table. I know that you can enable each cell while filling the table. But is there a possibility to set the cells of the whole table kind of inactive (after the filling of the table) while the selection of the rows is still possible?</p>
  
  <p>TIA Martin</p>