def __init__(self, bottom: int, top: int): """ Creates a new IntValidator with fixup (attempts to correct an invalid string) """ NumberValidator.__init__(self, bottom, top) QIntValidator.__init__(self, bottom, top)