[PyQt] QValidator.validate encore

David Cortesi davecortesi at gmail.com
Sat Sep 29 16:24:13 BST 2012

> The API is different for different versions of the QString API.
> Phil

Sorry, I'm using Python 2.7 and PyQt4 (4.8.3).

Looking around the Riverbank docs starting at the top level I find this


which seems to imply that the validate() -> (State, QString, int) API is
new for Python 3.

However I cannot find any other doc for QValidator except this link:


which also gives the ->(State, QString, int) return value.

Using a google search 'site:riverbankcomputing.co.uk QValidator' doesn't
turn up anything else relevant that I see.

I'd appreciate a link to a 4.8-specific API doc if that is what I need.

Thanks for your time,

Dave Cortesi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120929/e88d1905/attachment.html>

More information about the PyQt mailing list