Hi All

i am facing the same QTreeWidget Drag and Drop issue since last 1.5 weeks..

I am feeling this is very bad me..

My problem is How can i set top level items only has to accepts drops.

I set following things

ui->widget->dragDropOverwriteMode();
ui->treeWidget->setDragEnabled(true);
ui->treeWidget->setAcceptDrops(true);
ui->treeWidget->setDragDropMode(QAbstractItemView ::InternalMove);


I know answer is very simple, But i don't know how do compare the Drop Event with top level items ...

please help me to sort out this issue..

Any suggestions welcome.

Thanks

Addu R