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.ip...@gmail.com |
+----------------------+------------------------------+


_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to