On Dec 12, 6:17 pm, David Boddie wrote:
> That's correct, retrieveData() is a protected function in C++ and the
> QMimeData object was created by the framework, not you, in this case.
Ah, well that explains it. Figured as much but was hoping maybe I was
trying to access it incorrectly.
> You co
On Friday 12 December 2008 02:05, Mudcat wrote:
> The drag is working up until the point I try to actually retrieve the
> data. At that point I get an unhandled Runtime Error saying "no access
> to protected functions or signals for objects not created in Python".
That's correct, retrieveData() i
I'm trying to drag/drop info from a TreeWidget into a TextBox. I have
been able to modify the TextEdit box to override the dragEnterEvent
like this:
class TextEdit(QtGui.QTextEdit):
def __init__(self, title, parent):
QtGui.QTextEdit.__init__(self, title, parent)
self.setA