[PyKDE] QInputDialog.getText and QLineEdit.Password

Eli Carter eli.carter at inet.com
Wed Apr 17 23:42:57 BST 2002


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?

TIA,

Eli
--------------------. "If it ain't broke now,
Eli Carter           \                  it will be soon." -- crypto-gram
eli.carter(a)inet.com `-------------------------------------------------





More information about the PyQt mailing list