Important: Please read the Qt Code of Conduct -

Incorrect documentation on DragEvent

  • This is in reference to:

    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