def METHOD_NAME(self, event):
    """Override Qt method.
    Provide style updates on event.
    Parameters
    ----------
    event : qtpy.QtCore.QDragEnterEvent
        Event from the Qt context.
    """
    self._update_property("drag", True)
    if event.mimeData().hasUrls():
        viewer = self.parentWidget().nativeParentWidget()._qt_viewer
        viewer._set_drag_status()
        event.accept()
    else:
        event.ignore()