def METHOD_NAME(view, event):
    assert isinstance(event, QtGui.QMouseEvent)
    API_VIEW_BASE.METHOD_NAME(view, event)
    # print('no editing')
    view.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)