QT lineEdit 显示密文

1、ui界面  设置属性

 

2、代码方式

setEchoMode(QLineEdit::Password);

 

posted @ 2022-03-03 16:45  代码改变世界11  阅读(222)  评论(0)    收藏  举报