[PyQt] QTableView and clicked signal

Pierre Chifflier p.chifflier at inl.fr
Mon Jul 28 10:06:04 BST 2008


On Mon, Jul 28, 2008 at 10:57:00AM +0200, Benno Dielmann wrote:
> Hi Pierre, 
> 
> just put in the closing braces in the signal strings and you are there.
> 
> e.g.
> QtCore.QObject.connect(self.tableView, 
> QtCore.SIGNAL("clicked(constQModelIndex&)"), self._onClick)
> 

Doh ! Indeed, I forgot the closing brace (and I inserted spaces in your
reply, between const and QModelIndex ;)

Thanks,
Pierre


More information about the PyQt mailing list