[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] QValidator - forget it
From:       David Cortesi <davecortesi () gmail ! com>
Date:       2012-09-28 22:54:28
Message-ID: CALyzANsYazNarD=JcGMUfK5GVRVoLPqZPAwe=J9Z0v__kFtMtQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (text/html)]

Sorry, should have checked the docs on the riverbank first.<br><br>QValidat=
or.validate has to return a triple (State, string, pos).<br><br>Apparently =
because the string and pos input args are mutable (non-&quot;const&quot;) i=
n the C++, and this how argument altering is done?<br>

<br>Anyway, excuse the noise on the channel.<br><br>DC<br>


_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic