docstr: Modified LineEdit with buttons inside the LineEdit.
docstr_tok: ["Modified","LineEdit","with","buttons","inside","the","LineEdit","."]
code: def __init__(self, parent=None, content_margins=(0, 0, 0, 0)):
      """
      Modified LineEdit with buttons inside the LineEdit.
      """
      super(ButtonLineEdit, self).__init__(parent)
  
      self.setContentsMargins(*content_margins)
      self.buttons = []
  
imports: import re
  import time
  import pkg_resources
  from PyQt5 import QtCore, QtGui, QtWidgets
  from PyQt5.QtCore import Qt
label_desc: Use image node_id 1 to create a new ButtonLineEdit object from inherited base classes: QtWidgets with example: obj = ButtonLineEdit(parent, content_margins)