A widget must accept this event in order to receive the
drag move eventsthat are sent while the drag and drop action is in progress. The drag enter event is always immediately followed by a drag move event.
QDragEnterEvent(pos, actions, data, buttons, modifiers)¶
QDragEnterEventthat represents a drag entering a widget at the given
pointwith mouse and keyboard states specified by
The drag data is passed as MIME-encoded information in
data, and the specified
actionsdescribe the possible types of drag and drop operation that can be performed.
Do not create a
QDragEnterEventyourself since these objects rely on Qt’s internal state.
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.