[PyQt] QRunnable and signals/slots

Phil Thompson phil at riverbankcomputing.com
Sat Jul 7 17:26:42 BST 2018


On 6 Jul 2018, at 8:14 am, Giuseppe Corbelli <corbelligiuseppe at mesdan.it> wrote:
> 
> On 07/05/2018 06:11 PM, Colin McPhail wrote:
>> Hi Giuseppe,
>> 
>> I seem to think I had the same problem once. Here is what I did to get round it. There is a separate class for the signals and the QRunnable uses an instance of that class for emitting signals....
> Thanks Colin
> used the same approach to workaround the problem, but I was interested in understanding what is wrong with the inheritance approach.

http://pyqt.sourceforge.net/Docs/PyQt5/gotchas.html#multiple-inheritance

Phil


More information about the PyQt mailing list