def __init__(self, parent):
        """
        Constructor
        
        :param parent: Qt parent object
        """

        # first, call the base class and let it do its thing.
        QtGui.QLineEdit.__init__(self, parent)

        # set up some handy references
        self._app = sgtk.platform.current_bundle()

        self.__sg_data_retriever = None

        self._processing_id = None
        self._thumb_map = {}
        self._default_icon = QtGui.QPixmap(
            ":/tk_multi_infopanel_global_search_widget/rect_512x400.png")

        # configure our popup completer
        self._completer = QtGui.QCompleter(self)
        self._completer.setMaxVisibleItems(10)
        self._completer.setCaseSensitivity(QtCore.Qt.CaseInsensitive)
        self._completer.setCompletionMode(
            QtGui.QCompleter.UnfilteredPopupCompletion)
        self.setCompleter(self._completer)

        # configure popup data source
        self._model = QtGui.QStandardItemModel(self)
        self._clear_model()
        self._completer.setModel(self._model)

        # hook up completer and trigger reload on keypress
        self.textEdited.connect(self._on_text_changed)
    def __init__(self, parent):
        """
        Constructor

        :param parent: QT parent object
        """
        QtGui.QTextEdit.__init__(self, parent)

        # set up some handy references
        self._bundle = sgtk.platform.current_bundle()

        # the currently processing async autocompleting lookup
        self._processing_id = None

        # list of users that have been pushed through via auto completion
        self._users_selected = []

        # have a sg data handler for submission
        self.__sg_data_retriever = None

        # configure our popup completer
        self._completer = QtGui.QCompleter(self)
        self._completer.setMaxVisibleItems(10)
        self._completer.setCaseSensitivity(QtCore.Qt.CaseInsensitive)
        self._completer.setCompletionMode(
            QtGui.QCompleter.UnfilteredPopupCompletion)
        self._completer.setWidget(self)

        # configure popup data source
        self._model = QtGui.QStandardItemModel(self)
        self._clear_model()
        self._completer.setModel(self._model)

        self._completer.activated[QtCore.QModelIndex].connect(
            self._insert_completion)
    def __init__(self, text , parent = None ) :
        QtGui.QLineEdit.__init__(self, text, parent) 


        completer = QtGui.QCompleter()
        self.setCompleter(completer)

        self.model = QtGui.QStringListModel()
        completer.setModel(self.model)