Quote Originally Posted by d_stranz View Post
Your QDropEvent gives you the position of the drop. The QListView methods indexAt(), visualRect() / rectForIndex() will help with mapping that position to a QModelIndex. QListView::modelColumn() tells you which column of the model is being displayed in the view. QAbstractItemView::model() gives you the pointer to the model. QAbstractItemModel::index() with arguments 0, 0 QModelIndex() gives you the root index (parent) in the model. You can iterate over all of the QModelIndex entries in the model until you find the two (or four) that bracket the drop location.

Go from there.
I am very very thankful to you man. You made my day. The hint you have given solved my problem. Thanks to anda_skoa also.