Sorry, should have checked the docs on the riverbank first. QValidator.validate has to return a triple (State, string, pos).
Apparently because the string and pos input args are mutable (non-"const") in the C++, and this how argument altering is done? Anyway, excuse the noise on the channel. DC
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt