This can be achieved using the self-contained functions:
()
import struct from import (QMessageBox, QLineEdit) from import QPixmap {...} class LoginWindow(): {...} def __init__(self): super(LoginWindow, self).__init__() # Load ui file loadUi('', self) # Setting the background image background = QPixmap("img/login_background.jpeg") background = (self.background_label.width(),self.background_label.width()) self.background_label.setPixmap(background) # Set up the input password box self.passwd_lineEdit.setEchoMode() {.......} def mainpage(): app = () login_window = LoginWindow() login_window.show() (app.exec_())
Above this pyqt implementation of QlineEdit input password displayed as a dot is all that I have shared with you, I hope to be able to give you a reference, and I hope you support me more.