I find the good way :
self.tableView.disconnect(self.tableView.selectionModel(), QtCore.SIGNAL("currentChanged"), self.selectionChanged)

Le 12/11/2011 21:37, david hautbois a écrit :
Hi
I connected a signal on a qtableview widget :
self.tableView.connect(self.tableView.selectionModel(), QtCore.SIGNAL("currentChanged(const QModelIndex &, const QModelIndex &)"), self.selectionChanged)

I tried many ways to disconnect it :
self.tableView.disconnect( QtCore.SIGNAL("currentChanged(const QModelIndex &, const QModelIndex &)"), self.selectionChanged) self.tableView.disconnect( QtCore.SIGNAL("currentChanged"), self.selectionChanged)
self.tableView.disconnect( QtCore.SIGNAL("currentChanged"))
self.tableView.disconnect( "currentChanged")
...
...

Nothing works....

Thanks.

David.
(A pyside newbie....)
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to