Atur bidang kata sandi pyqt5

pw = QtGui.QLineEdit()
pw.setEchoMode(QtGui.QLineEdit.Password)
Puzzled Plover