| 133 | return self.validate("", 0) |
| 134 | |
| 135 | class AddressValidator(QtGui.QValidator, AddressPassPhraseValidatorMixin): |
| 136 | def __init__(self, parent=None, passPhraseObject=None, feedBackObject=None, buttonBox=None, addressMandatory=True): |
| 137 | super(AddressValidator, self).__init__(parent) |
| 138 | self.setParams(passPhraseObject, parent, feedBackObject, buttonBox, addressMandatory) |
| 139 | |
| 140 | |
| 141 | class PassPhraseValidator(QtGui.QValidator, AddressPassPhraseValidatorMixin): |