[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] =?utf-8?q?PyQt5_difference_in_QObject=2Esender=28=29_behav?=
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2014-07-31 16:06:50
Message-ID: b07a8e157a476b925d6d5bcf6ed4da9b () www ! riverbankcomputing ! com
[Download RAW message or body]
On 28/07/2014 6:19 pm, Tomas Sobota wrote:
> I'm porting a program from PyQt4 to PyQt5. I had to change the signal
> connections and such, but everything mostly runs.
>
> I have several widget signals connected to the same slot, so inside the
> slot I check the sending widget with a call to QObject.sender() . This
> works in PyQt4 but in PyQt5 this function always returns None.
>
> Since the PyQt5 signal behavior has changed from PyQt4, I suspect that
> I'm
> doing something wrong, but beats me. Any clue?
Not without a short, complete script that demonstrates the problem.
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