[PyKDE] QInputDialog.getText and QLineEdit.Password

Eli Carter eli.carter at inet.com
Fri Apr 19 15:37:50 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
>>>>
[snip]
> The problem (now that I've looked it up) was that one of the getText()
> variants was simply missing. So the workaround is not to use that
> variant.

Bummer.  Ok; I've found another way of accomplishing what I need to 
without using getText().

Thanks again for your help!

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