[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] QString and QValidator on Qt 4
From: Simon Edwards <simon () simonzone ! com>
Date: 2006-11-21 21:55:11
Message-ID: 200611212255.11307.simon () simonzone ! com
[Download RAW message or body]
Hello,
I've come up against a problem in Qt 4 with QValidator and its fixup() method.
This code working on Qt 3:
def fixup(self,inputstr):
return unicode(inputstr).replace(":","")
But it doesn't seem to work like this on PyQt 4. PyQt4's fixup() seems to
require no return value. Is in-place modification of the QString argument
expected??? or have a found a bug?
PyQt4 v4.0.1
Qt4 v4.2.0
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
simon@simonzone.com | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic