QIconDragEvent 类

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

头: #include <QIconDragEvent>
qmake: QT += gui
继承: QEvent

公共函数

QIconDragEvent ()

额外继承成员

详细描述

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.

另请参阅 拖放 , QMimeData ,和 QDrag .

成员函数文档编制

QIconDragEvent:: QIconDragEvent ()

构造图标拖拽事件对象,并将接受标志设为 false。

另请参阅 accept ().