[PyQt] QValidator - forget it

David Cortesi davecortesi at gmail.com
Fri Sep 28 23:54:28 BST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120928/df981566/attachment.html>


More information about the PyQt mailing list