'Reimplemented.'

def dropEvent(self, event):

    layout = self.__flowlayout
    index = self.__insertIndexAt(self.mapFromGlobal(QCursor.pos()))
    if (event.mimeData().hasFormat('application/x-internal-move') and (event.source() is self)):
        (frame, oldindex, _) = self.__dragstart
        self.__setDropIndicatorAt(None)
        if (index > oldindex):
            index = (index - 1)
        if (index != oldindex):
            item = layout.takeAt(oldindex)
            assert (item.widget() is frame)
            layout.insertWidget(index, frame)
            self.widgetMoved.emit(oldindex, index)
            event.accept()
        self.__dragstart = (None, None, None)
