[PyQt] QTableView and clicked signal

Benno Dielmann lists at benno-dielmann.de
Mon Jul 28 10:13:47 BST 2008


On Monday 28 July 2008 11:06:04 Pierre Chifflier wrote:
| 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 ;)

Oh. I just wanted to get rid of the line brake my email application put in 
there and I accidentally got rid of the space, too... It's so easy to inject 
typos in code ;-). 

| Thanks,
| Pierre



More information about the PyQt mailing list