QListWidget/QTreeWidget Drag and Drop
Hi guys,
I subclassed QListWidgetItem and QTreeWidgetItem so when those got copied/moved, all the custom data weren't copied/moved with it. Thus, I think I have to override drag drop methods in QListWidget and QTreeWidget but I have no idea how to do that? Any suggestions???
Thanks a lot!
Re: QListWidget/QTreeWidget Drag and Drop
I think it might be enough if you reimplemented the clone() method.
Re: QListWidget/QTreeWidget Drag and Drop
oh another thing I wanna do is to move (not copy) the items. I tried changed supportedDropAction to Qt.MoveAction only but that doesn't allow me to move at all. Do you have any suggestions?