PDA

View Full Version : How can I obtain the changing info of dropEvent within QtreeView



h5nc
27th June 2012, 05:46
Hi all,

I enabled drag&drop within QTreeView and set it to internal move. I want to know from the drop event about what row was dragged and to where. I don't think itemAt(event->pos()) could work since I can drop a row below or above an item (to insert before or after that item). So how can I get the changes? Can I find out the info in dropEvent?