Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Incorrect documentation on DragEvent

$
0
0
This is in reference to: http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-dragevent.html These are the properties described in the reference: accepted, action, drag.source, keys, supportedActions, x, y These are the methods: accept(), accept(enumeration action) This is what I see when I click all properties and methods, including those that are inherited. However setting a breakpoint and reviewing the drop object, I see: acceptProposedAction, formats, getDataAsString, hasColor, hasHtml, hasText, hasUrls, html, objectName, proposedAction, test, urls And most importantly, I don’t see drag.source but a property called ‘source’ which for some reason is always null.

Viewing all articles
Browse latest Browse all 4972

Trending Articles