We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d29b030 commit ac9e4a9Copy full SHA for ac9e4a9
PyQt5-stubs/QtWidgets.pyi
@@ -7177,7 +7177,7 @@ class QLineEdit(QWidget):
7177
def minimumSizeHint(self) -> QtCore.QSize: ...
7178
def sizeHint(self) -> QtCore.QSize: ...
7179
def validator(self) -> QtGui.QValidator: ...
7180
- def setValidator(self, a0: QtGui.QValidator) -> None: ...
+ def setValidator(self, a0: typing.Optional[QtGui.QValidator]) -> None: ...
7181
def setReadOnly(self, a0: bool) -> None: ...
7182
def isReadOnly(self) -> bool: ...
7183
def setEchoMode(self, a0: 'QLineEdit.EchoMode') -> None: ...
0 commit comments