QIconDragEvent Class Reference

[ QtGui module]

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

继承 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 Mac OS X, 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 事件。


方法文档编制

QIconDragEvent.__init__ ( self )

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

另请参阅 accept ().

QIconDragEvent.__init__ ( self , QIconDragEvent )