Qt 设置QLineEdit输入密码为星号
m_pPasswordLineEdit->setEchoMode(QLineEdit::EchoMode::Password);
QLineEdit{lineedit-password-character:42;}
参考:https://bbs.csdn.net/topics/392513644?page=1#post-414289855
https://blog.csdn.net/fan_xingwang/article/details/79169745