Pyside6设置line Edit控件输入密码时不显示明文

在将line Edit作为密码框时,我们需要输入的明文显示为其他符号,该怎么做呢?

1、选中控件

2、设置echoMode参数为Password