[PyKDE] QtGui.QItemSelectionModel.NoUpdate problem

Dave S eric3 at pusspaws.net
Sat Oct 14 10:32:46 BST 2006


I have a Qtabelwidget and want it so that when someone clicks on an cell no 
selection is made. Looking around ...

self.tableWidget.setSelectionModel(QtGui.QItemSelectionModel.NoUpdate)

seemed to be the option. However I get 'arg 1 - set selection model has 
invalid type' I cant get round this.QItemSelectionModel is part of QtGui. It 
is in PyQt docs so It is implemented.

Can anyone help ?

Dave




More information about the PyQt mailing list