[PyQt] QValidator.validate encore

David Cortesi davecortesi at gmail.com
Sat Sep 29 00:27:52 BST 2012


I have set up a QValidator whose validate method consists of:

    def validate(self, qs, pos) :
        return (QValidator.Acceptable, qs, pos)

and this still gets TypeError: invalid result type from
findRepValidator.validate()

Very puzzling.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120928/5978bccf/attachment.html>


More information about the PyQt mailing list