PyQt5综合实践(二)PyQt5之QLineEdit控件与回显模式(EchoMode)
QLineEdit有4种回显模式(EchoMode):
1.Normal
2.NoEcho
3.Password
4.PasswordEchoOnEdit
代码参考下图,运行后结果:
输入后效果:
from PyQt5.QtWidgets import *
import sys
class QLineEditEchoMode(QWidget):
def __init__(self):
super().__init__()
self.initUI.



