[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] pyqtMethodProxy
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2012-07-24 15:50:05
Message-ID: dfd4c0fe56625f5b8a5cb3171dc059f1 () localhost
[Download RAW message or body]
On Tue, 24 Jul 2012 14:26:31 +0200, Sebastian Elsner
<sebastianelsner@freenet.de> wrote:
> Hello,
>
> I was trying to connect the dataChanged signal of a QTableView instance
> the "new style way" via its string name and __getattr__ like so:
>
> treeview.__getattr__("dataChanged").connect(someSlot)
Why not treeview.dataChanged.connect(someSlot)?
> Instead of getting a bound signal (like I do with a ComboBox for
> example), I am getting a pyqtMethodProxy, which does not have a connect
> attribute. I can't find anything on the internet about this. Is there a
> way to get the actual signal?
dataChanged() isn't a signal.
Phil
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic