[Qt-interest] QTreeWidget Drag and Drop

Yuvaraj R yuvaraj at ongobiz.com
Mon Jun 29 13:19:03 CEST 2009


Hi All


I have already posted this query for List.. please parden me for again
posting the same query

I set the code for Drag and drop for Qtreewidget like that

ui->treeWidget->dragDropOverwriteMode();

ui->treeWidget->setDragEnabled(true);

ui->treeWidget->setDragDropMode(QAbstractItemView ::InternalMove);


Then How do i set the Drop Event


toplevelItems only accept the drops ...


please help me ..



Thanks


Yuvaraj R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090629/7690a401/attachment.html 


More information about the Qt-interest-old mailing list