Incorrect documentation on DragEvent



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.