Re: [PyQt] can't drop external data onto QTreeView

2010-09-28 Thread danny
stupid me. I had: if not index.isValid(): return QtCore.Qt.NoItemFlags in my flags() override. doh! D ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] can't drop external data onto QTreeView

2010-09-28 Thread danny
Howdy, I'm having trouble dropping "text/plain" QMimeData onto a QTreeView. The subtlety is that I am trying to drag onto an empty root. The context is that I want to use drag and drop to help build the tree. If I have an existing item in the tree, then I can drop onto that just fine. The trouble