I have set up a QValidator whose validate method consists of:
def validate(self, qs, pos) :
return (QValidator.Acceptable, qs, pos)
and this still gets TypeError: invalid result type from
findRepValidator.validate()
Very puzzling.
___
PyQt
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
Hello, I am trying to set up a QValidator on a QLineEdit. The Assistant
says that the validate() member should return something from the Enum
QValidator::State. My validator's validate() member currently has only the
one statement,
return QValidator.Acceptable
Whenever an edit is made in the L
PyQtChart v1.1 has been released. These are the Python bindings for
Digia's Qt Commercial Charts library
(http://qt.digia.com/Product/Qt-Add-Ons/Charts/).
This release adds support for v1.1 and includes additional examples
demonstrating new features including donut charts and horizontal charts.
P