Closed poul1x closed 2 years ago
which version of pyqt5-stubs are you using ?
PyQt5-stubs==5.15.2.0
Hi,
Thanks for reporting this. Sorry for the delay.
The fix for these two signals (and many others) are already in the codebase, but it has not yet been released.
You can install the git version with :
pip install git+https://github.com/python-qt-tools/PyQt5-stubs@master
I just checked it with your example, it works fine and fixes your problem.
Now, let's head up to a release. @altendky ?
I have just released PyQt5-stubs 5.15.6.0 which includes a fix for this issue. Please upgrade and reopen the issue in case the problem is still present. And if you find additional issues, don't hesitate to report them.
Please, support layoutAboutToBeChanged() and layoutChanged() signals. As you see, they are recognized as functions.
PyQt5-stubs version: 5.15.2.0