[PyKDE] cellEntered sigal problem

hok kakada hokkakada at khmeros.info
Fri Nov 10 04:19:57 GMT 2006


Hello again,

I am working with tableWidget,and I got stuck with cellEntered signal.
It seems not emit when I entered to the last row, though I enabled 
mouseTracking feature.

Bellow is how my code does:
 row = self.ui.tableHeader.rowCount()
            
QtCore.QObject.connect(self.ui.tableHeader,QtCore.SIGNAL("cellEntered(row,0)"), 
self.appendRow)

def appendRow(self):
        """ Append one row to the last"""
        lastRow = self.ui.tableHeader.rowCount() +1
        self.ui.tableHeader.insertRow(lastRow)
   
Any idea of that?
Thanks,
da
-- 
Ms. Hok Kakada
Open Source Engineer
KhmerOS project
H/P:012 653 155




More information about the PyQt mailing list