[PyQt] QObject::disconnect(const QMetaObject::Connection &connection)

Kyle Altendorf sda at fstab.net
Mon Jul 15 19:42:08 BST 2019



On 2019-07-15 13:35, Maxime Lemonnier wrote:
> I'm trying to use https://doc.qt.io/qt-5/qobject.html#disconnect-4
> 
> to disconnect connections in a generic way (without keeping track of 
> the
> actual QObject, signals and slots involved). In C++ I would
> store QMetaObject::Connection instances retruned by the connection 
> methods.
> In PyQt5, I have the QMetaObject.Connection in hand, but I can't
> find QObject::disconnect(const QMetaObject::Connection &connection).
> 
> Is there a way do achieve what I want?

https://www.riverbankcomputing.com/pipermail/pyqt/2017-December/039853.html

I don't recall this coming back up.  (until now :] )

Cheers,
-kyle


More information about the PyQt mailing list