[Qt-interest] Which MIME type (Drag&Drop) should I choose ?

Gan Xiebin gan.xiebin at gmail.com
Tue Jun 2 09:33:15 CEST 2009


Hello everyone,

I implement my own tree model,
and I want to enable *Drag and Drop* for Items.

My item data's type is QList<QVariant>.
like that,
    QList<QVariant> columnData;
    columnData << "Group1";
    columnData.clear();
    columnData << "PC1" << "10.3.0.27" << "On" ;

and I used QTreeView and QListView( iconmode ) to display that.

I read the document about Model/View Programming,
but I still can't find out which MIME type should I choose...

Any idea will be appreciated.

Thanks,
Bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090602/db2be32e/attachment.html 


More information about the Qt-interest-old mailing list