[PyKDE] QValidator's return values

Pete Ware ware at cis.ohio-state.edu
Fri Apr 7 22:25:46 BST 2000


In PyQt, QValidator.validate used to return a tuple:

        (state, text, length)

but with PyQt-0.11 it now seems to return:

        (state, length)

The old behaviour corresponds more to what Qt is expecting:

        State QValidator::validate ( QString &, int & )

--pete




More information about the PyQt mailing list