Is there a way to enter a password in QTextEdit without displaying it? Or what other ways is there to enter a password in QWidget? I know about such a module as getpass, but how to connect it with the widget?

    1 answer 1

    Use QLineEdit , it has an echoMode property, one of the modes ( Password ) draws asterisks instead of a password.