Maya UI:Password mask

I’m building a UI using maya.cmds and one of the text fields is for a password input.

I’m having difficulty in making the password display like **** instead of the actual text. And also, with that, enabling the text field for entry but not copying.

I guess it’s out of the scope of a Maya textfield to do this but I figured I’d ask on here and see. Otherwise it’s simple in qt.

Cheers and a happy 2012 to all! :slight_smile:

I am new to scripting but as i know qt is easy way to do this task
and i think in maya we need sme kind of script or command which converts the text into *****

[QUOTE=dgovil;13593]I’m building a UI using maya.cmds and one of the text fields is for a password input.

I’m having difficulty in making the password display like **** instead of the actual text. And also, with that, enabling the text field for entry but not copying.

I guess it’s out of the scope of a Maya textfield to do this but I figured I’d ask on here and see. Otherwise it’s simple in qt.

Cheers and a happy 2012 to all! :-)[/QUOTE]

Use Qt.

Guess it’s a qt solution then which is easy.
Thanks!