[PyQt] QRunnable and signals/slots

Giuseppe Corbelli corbelligiuseppe at mesdan.it
Mon Jul 9 14:01:40 BST 2018


On 07/07/2018 06:26 PM, Phil Thompson 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

Should have already known that...

Thanks

-- 
Giuseppe Corbelli


More information about the PyQt mailing list