class_docstr: Provides dock-dropping methods
code: def dragMoveEvent(self, ev):
      # print "drag move"
      # QDragMoveEvent inherits QDropEvent which provides posF()
      # PyQt6 provides only position()
      width, height = self.dndWidget.width(), self.dndWidget.height()
      posF = ev.posF() if hasattr(ev, "posF") else ev.position()
      ld = posF.x()
      rd = width - ld
      td = posF.y()
      bd = height - td
  
      mn = min(ld, rd, td, bd)
      if mn > 30:
          self.dropArea = "center"
      elif (ld == mn or td == mn) and mn > height / 3:
          self.dropArea = "center"
      elif (rd == mn or ld == mn) and mn > width / 3:
          self.dropArea = "center"
  
      elif rd == mn:
          self.dropArea = "right"
      elif ld == mn:
          self.dropArea = "left"
      elif td == mn:
          self.dropArea = "top"
      elif bd == mn:
          self.dropArea = "bottom"
  
      if ev.source() is self.dndWidget and self.dropArea == "center":
          # print "  no self-center"
          self.dropArea = None
          ev.ignore()
      elif self.dropArea not in self.allowedAreas:
          # print "  not allowed"
          self.dropArea = None
          ev.ignore()
      else:
          # print "  ok"
          ev.accept()
      self.overlay.setDropArea(self.dropArea)
  
file_path: pyqtgraph/pyqtgraph/dockarea/DockDrop.py
imports: from ..Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 7 for calling the DockDrop obj's underlying member method code with example usage: obj.dragMoveEvent(ev) without return types