[PyKDE] QInputDialog.getText and QLineEdit.Password

Phil Thompson phil at river-bank.demon.co.uk
Thu Apr 18 11:54:47 BST 2002


Eli Carter wrote:
> 
> I found a post on this question here:
> http://mats.gmd.de/pipermail/pykde/2001-May/001050.html
> 
> I seem to have the same problem using this:
> QInputDialog.getText( 'Sensitive Data', 'Password:', QLineEdit.Password )
> I'm getting this:
> TypeError: Argument 3 of QInputDialog.getText() has an invalid type
> 
> I'm using python + Qt from RedHat 7.2.  Is that bug present in that
> version, or am I doing something wrong?
> If it's a bug, is there a work-around I can use?

What versions are bundled with RedHat? Are they still on Python 1.5.2?

I would have hoped that a bug reported a year ago would have been fixed
by now.

Phil





More information about the PyQt mailing list