python-qt-tools / PyQt5-stubs

Stubs for PyQt5
GNU General Public License v3.0
69 stars 31 forks source link

Support `layoutChanged` and `layoutAboutToBeChanged` signals #191

Closed poul1x closed 2 years ago

poul1x commented 2 years ago

Please, support layoutAboutToBeChanged() and layoutChanged() signals. As you see, they are recognized as functions.

image

PyQt5-stubs version: 5.15.2.0

bluebird75 commented 2 years ago

which version of pyqt5-stubs are you using ?

poul1x commented 2 years ago

PyQt5-stubs==5.15.2.0

bluebird75 commented 2 years ago

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 ?

bluebird75 commented 2 years ago

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.