QValidatorΒΆ

class PyQt5.QtGui.QValidator

The C++ documentation can be found here.