[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Problem with signal and slot arguments
From:       Dennis Jensen <djensen () pgcontrols ! com>
Date:       2019-10-29 19:38:59
Message-ID: a795d558-c068-e816-11a9-bb4846e0e973 () pgcontrols ! com
[Download RAW message or body]

Okay well I am not Guru by any stretch of the imagination just found 
only references to it using C primitives good to know though thanks for 
the correction

On 10/29/2019 10:48 AM, Florian Bruhin wrote:
> On Tue, Oct 29, 2019 at 09:19:37AM -0500, Dennis Jensen wrote:
>> Actually I do not think the pyqtSlot can take that data type from what I
>> understand is they only deal in primitives (int, str, object)
> I'm not sure what makes you think so.
>
> It works just fine, and the docs[1] say "Each type may be a Python type object
> or a string that is the name of a C++ type.". QBluetoothDeviceInfo is a type
> object (a class), and so is str or int or object.
>
> [1] https://www.riverbankcomputing.com/static/Docs/PyQt5/signals_slots.html#the-pyqtslot-decorator
>
> Florian
>
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://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