My UI is written in pyforms.
How can I implement a password field? (EG. instead of 'P@ssW0rd' it would display '********').
I have found that I can utilize QLineEdit.EchoMode, but unsure how to implement.
Thanks in advance!
- Updated to reflect community guidelines
You can add the following module as
ControlPasswordText.py
in your project folder:And here's how you would use it:
Result: