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
- duplicates
- 
                    PYSIDE-1603 Missing signals in stubs -         
- Closed
 
-         
 Not Evaluated
  Not Evaluated