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 ().