C++ (Qt)void D2StringTableWidget::dropEvent(QDropEvent *event){....QTableWidgetSelectionRange range = qobject_cast<QTableWidget *>(event->source())->selectedRanges().at(0);