QIconDragEvent Class

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

头文件: #include <QIconDragEvent>
qmake: QT += gui
基类: QEvent

公有函数

  • 6 个公有函数继承自 QEvent

其他继承的成员

  • 1 个属性继承自 QEvent
  • 1 个静态公有成员继承自 QEvent
  • 2 个受保护的变量继承自 QEvent

详细描述

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.

参见 Drag and Drop, QMimeData, and QDrag.

成员函数

QIconDragEvent::QIconDragEvent()

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

参见 accept().