Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

QIconDragEvent Class

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

Header: #include <QIconDragEvent>
qmake: QT += gui
Inherits: QEvent

Public Functions

  • 7 public functions inherited from QEvent

Additional Inherited Members

  • 1 property inherited from QEvent
  • 1 public variable inherited from QEvent
  • 1 static public member inherited from QEvent
  • 2 protected variables inherited from QEvent

Detailed Description

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

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, and QDrag.

Member Function Documentation

QIconDragEvent::QIconDragEvent()

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

See also accept().

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded