[PyKDE] signal from checkBox in QTable

david david.f at village.uunet.be
Mon Oct 21 01:08:00 BST 2002


Hi !, 

I'm using a QTable, there is a CheckBox in a cell. 

    checkRage = QCheckBox(self.table) 
    self.table.setCellWidget(newLine,3,checkRage) 

When I click on the checkBox, I would like to receive the signal. 

I tried this : 

    self.connect(self.table,SIGNAL\ 
        ('clicked(int,int,int,const QPoint&)'),self.ok) 


    def ok(self,i,j): 
        print i,j 

I not receive the signal for this cell. 

Any ideas ? 

Thanks !! 

-- David Florkin 





More information about the PyQt mailing list