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

posted @ 2021-05-08 12:19  远方是什么样子  阅读(954)  评论(0编辑  收藏  举报