#NEWLINE# def dragEnterEvent( self , event ) : #NEWLINE# #INDENT# ' dragEnterEvent(event: QDragEnterEvent) -> None\n        Set to accept drops from the other cell info\n\n        ' #NEWLINE# mimeData = event . mimeData ( ) #NEWLINE# if hasattr ( mimeData , 'cellInfo' ) : #NEWLINE# #INDENT# event . setDropAction ( QtCore . Qt . MoveAction ) #NEWLINE# event . accept ( ) #NEWLINE# idx = self . indexAtPos ( event . pos ( ) ) #NEWLINE# if ( idx >= 0 ) : #NEWLINE# #INDENT# self . setCurrentIndex ( event ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# event . ignore ( )