compare: drag to compare ui.

This commit is contained in:
2025-06-21 14:05:39 +08:00
parent 0fb6e01723
commit fd8bb4c9f1
4 changed files with 40 additions and 8 deletions

View File

@@ -41,5 +41,5 @@ void Compare::InitTabWidget()
ui->tableWidget->viewport()->setAcceptDrops(true);
ui->tableWidget->setDropIndicatorShown(true);
ui->tableWidget->setSelectionMode(QAbstractItemView::ExtendedSelection);
ui->tableWidget->setDragDropMode(QAbstractItemView::DragDrop);
ui->tableWidget->setDragDropMode(QAbstractItemView::DropOnly);
}