def contextMenuEvent(self, e):
        item = self.currentItem()
        if item:
            menu = QtGui.QMenu()
            menu.addAction(self.editAct)
            menu.exec_(e.globalPos())
Prepares a value for use in a LIKE query.
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/open_db_window.py/QDBConnectionList.contextMenuEvent--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/db/backends/__init__.py/BaseDatabaseOperations.prep_for_like_query