[PyQt] Table changed/modified method

Hans-Peter Jansen hpj at urpla.net
Sat Oct 24 23:54:28 BST 2009


On Saturday 24 October 2009, 21:31:56 Filippo Rebora wrote:
> Ehm...well
>
> QtCore.QObject.connect(self.tableWidget, QtCore.SIGNAL("cellChanged()"),
> self.tableWasModified)

The question is: why don't you use the much less masochistic version:
self.tableWidget.cellChanged.connect(self.tableWasModified)

Pete


More information about the PyQt mailing list