QIconDragEvent#

The QIconDragEvent class indicates that a main icon drag has begun. More

Inheritance diagram of PySide6.QtGui.QIconDragEvent

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

Icon drag events are sent to widgets when the main icon of a window has been dragged away. On macOS, this happens when the proxy icon of a window is dragged off the title bar.

It is normal to begin using drag and drop in response to this event.

See also

Drag and Drop QMimeData QDrag

class PySide6.QtGui.QIconDragEvent#

PySide6.QtGui.QIconDragEvent(arg__1)

Parameters:

arg__1PySide6.QtGui.QIconDragEvent

Constructs an icon drag event object with the accept flag set to false.

See also

accept()