Hi, what is the sequence of events when drag&drop is processed?
Namely, having QListView. The flags() method is called for each list item to check whether drag or drop operation is allowed. Then mimeData() is called to encode all the dragged list items. The dropMimeData() is called to store the dragged encoded items' data. I don't find a moment when the mimeTypes() method should be called. Additionally, the QListView should accept the proposed actions like dragStart, dragLeave, drop before the events proceed to the model methods (e.g. flags).
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest