View Full Version : Drag and Drop

10th April 2008, 13:47
hello everyone.....
I want to drag and drop any files from desktop and copy on the our application .My problem is that thr is two Q3ListView objecton the Dialog box one is Source and other is detination ,and I want tht the drag and drop event only perform on destination .but its performing on both.........
Any one can suggest me how would I identify that Q3listView object to perform drag and drop event............

thanx in advance...:)

10th April 2008, 16:01
For the listview where you dont want drops, set the function setAcceptDrops(false);
Refer QWidget::setAcceptDrops()

Hope it helps :)