[PyQt] No feedback on failed signal connection

Ville M. Vainio vivainio at gmail.com
Sat May 24 08:52:37 BST 2008


I'm been flailing around, trying to get SOME signal out of QListView
to no avail (QListWidget works ok)

Here is example code that silently fails:

     print self.connect(self.listView, SIGNAL("foobar(QModelIndex
*)"),  self.var_selected )
     print self.connect(self.textEdit, SIGNAL("xxxtextChanged()"),
self.var_selected )

Both print True, and there are no error notifications on console.

I'm using Ubuntu 8.04 LTS default pyqt4 packages (4.3.3-2ubuntu4)


Also, is there a complete reference of all the values you can pass to
SIGNAL (e.g. in source files)? It seems to be quite sensitive, e.g
"foo*" is not same as "foo *".


-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'


More information about the PyQt mailing list