I've tried the following:
table->setDragDropOverwriteMode(false);
table->setDragEnabled(true);
table->setDragDropOverwriteMode(false);
table->setDragEnabled(true);
table->setDragDropMode(QAbstractItemView::InternalMove);
To copy to clipboard, switch view to plain text mode
With the items:
item->setFlags(item->flags() & ~(Qt::ItemIsDropEnabled));
item->setFlags(item->flags() & ~(Qt::ItemIsDropEnabled));
To copy to clipboard, switch view to plain text mode
But I can't get it to drop on the line (unless that's the '+' indicator)... and the cell under/near the drop is still overwritten. Using 4.3.2, if that makes any difference (bug?).
Bookmarks