Description
MyPy doesn't know about exposed signals
from PySide6.QtWidgets import QLineEdit from PySide6.QtWidgets import QToolButton button = QToolButton() line_edit = QLineEdit() button.clicked.connect(line_edit.clear)
mypy said
error: "QToolButton" has no attribute "clicked"
And, sure enough, if I look at the QtWidgets.pyi file in my site-packages, it seems to me that no signal is set for any widget
Attachments
Issue Links
- duplicates
-
PYSIDE-1603 Missing signals in stubs
- Closed
For Gerrit Dashboard: PYSIDE-1966 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
422549,2 | QPainter drawText() - Fix undetected overloads | dev | pyside/pyside-setup | Status: ABANDONED | 0 | 0 |