Just to note, there are official [1] Python bindings available for Qt and this can usually be installed with `pip install pyside2`.
If possible, I would rather get behind the "official" one since we also already pay for commercial Qt licenses.
E.g. this works in PyQt:
def f(): pass
signal.connect(f)
signal.disconnect(f)
But the disconnect fails in PySide2 (RuntimError: not connected). Seems like you have to store the connection object, which is a bit of a PITA because signal.connect() does not return that.Some of the examples in the documentation are still in C++, but it's pretty easy to translate them to Python since the names are the same. (Sometimes painfully so, e.g PySide2.QtCore.Qt.ScrollBarPolicy.ScrollBarAlwaysOff.)
If you do anything serious with Qt you'll have to read those anyway, I believe even PyQt stopped "translating" the docs to python. It's easy enough anyway, even for people like me with no real experience of C++.