[PyKDE] QTableWidget Signals

Marcos Dione mdione at grulic.org.ar
Tue Feb 13 04:44:24 GMT 2007


On Tue, Feb 13, 2007 at 01:45:50AM +0000, Paulino wrote:
> Like In this example:
> QObject.connect( self.tabMaster, SIGNAL("itemClicked(item)"), self.Alert )
> Î think the problem is in the argument "item" in itemClicked(), that
> should be something diferent - a QTableWidgetItem ...

    see my mistakes here:
    
http://www.mail-archive.com/pykde%40mats.imk.fraunhofer.de/msg09950.html

    bassicaly, you gotta put the signature with types and without param names.
the one you want is «SIGNAL ("itemClicked ( QTableWidgetItem *)")».

-- 
(Not so) Random fortune:
A lot of parenting is really just trial and error...
... mostly errors.
             -- http://www.unitedmedia.com/comics/committed/




More information about the PyQt mailing list