[PyKDE] QInputDialog.getText and QLineEdit.Password

Eli Carter eli.carter at inet.com
Thu Apr 18 15:49:52 BST 2002


Phil Thompson wrote:
> 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.

Thanks for the reply. :)

Python 1.5.2-35 and PyQt 2.4-1
Hmm.. the build date for PyQt is Jul 2001, so they had a month I guess...
so it probably is the same problem.  I didn't find an updated rpm for 
RedHat.
Do you have a workaround (i.e. doesn't require changing the installed 
version)?

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