img_path='icon/loginuser.png'
action = QAction(self.lineEdit)
action.setIcon(QtGui.QIcon(img_path))
self.lineEdit.addAction(action,QLineEdit.LeadingPosition)
img_path='icon/loginsuo.png'
action = QAction(self.lineEdit)
action.setIcon(QtGui.QIcon(img_path))
self.lineEdit_2.addAction(action,QLineEdit.LeadingPosition)