code: def __init__(self, *args, **kwargs):
      super().__init__(*args, **kwargs)
      self.setDragEnabled(True)
      self.setAcceptDrops(True)
      self.viewport().setAcceptDrops(True)
      self.setDragDropOverwriteMode(False)
      self.setDropIndicatorShown(True)
      self.setSelectionMode(
          QtWidgets.QAbstractItemView.ExtendedSelection
      )
      self.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
      self.setDragDropMode(QtWidgets.QAbstractItemView.InternalMove)
  
file_path: PaddleSeg/EISeg/eiseg/widget/table.py
imports: from qtpy import QtWidgets
  from qtpy.QtCore import Qt
label_desc: Use image node_id 1 to create a new TableWidget object from inherited base classes: QtWidgets with example: obj = TableWidget()