Hi all,

I've been successfully usnig basic Signals from PyQt (Avo 1.0.1+Python
on Windows) but I'm ready to throw in the towel on using signals with
parameters:

I have a QTableWidget and am trying to catch the signal when someone
clicks on a cell:

    QObject.connect(self.allpharmas,
                    SIGNAL("currentCellChanged(int, int, int, int)"),
                    self, SLOT("selectPharmacophore(int,int,int,int)"))

The signal never arrives at selectPharmacophore:
  @pyqtSignature("int,int,int,int")
  def selectPharmacophore(self, a, b, c, d):
    self.debug("select pharmacophore")

Does anyone know whether I am doing something wrong here? If these
signals aren't usable it really limits the possibilities of extending
Avo through Python.

- Noel

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Avogadro-Discuss mailing list
Avogadro-Discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-discuss

Reply via email to