[PyQt] activated signal
    Mads Ipsen 
    madsipsen at gmail.com
       
    Fri Feb 17 08:58:02 GMT 2012
    
    
  
Hi,
I have a QTableView. If I connect with
   self.connect(self.table, QtCore.SIGNAL('activated(const QModelIndex 
&)'), self.tableActivated)
the method tableActivated() is *not* called when I double-click a cell 
or enter via space press etc.
However, if I do
   self.connect(self.table, QtCore.SIGNAL('doubleClicked(const 
QModelIndex &)'), self.tableActivated)
the method is called when a cell is double-clicked.
What am I doing wrong?
Mads
-- 
+-----------------------------------------------------+
| Mads Ipsen                                          |
+----------------------+------------------------------+
| Gåsebæksvej 7, 4. tv |                              |
| DK-2500 Valby        | phone:          +45-29716388 |
| Denmark              | email:  mads.ipsen at gmail.com |
+----------------------+------------------------------+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120217/79cb68d3/attachment.html>
    
    
More information about the PyQt
mailing list