QIconDragEvent 類

QIconDragEvent 類指示已開始拖拽主圖標。 更多...

頭: #include <QIconDragEvent>
qmake: QT += gui
繼承: QEvent

公共函數

QIconDragEvent ()

詳細描述

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