The Q3DropSite class provides nothing and does nothing. 更多...
| 头: | #include <Q3DropSite> |
| Q3DropSite (QWidget * self ) | |
| virtual | ~Q3DropSite () |
The Q3DropSite class provides nothing and does nothing.
It was used in Qt 1.x to do some drag and drop; that has since been folded into QWidget .
另请参阅 Q3DragObject , Q3TextDrag ,和 Q3ImageDrag .
构造 Q3DropSite to handle events for the widget self .
Pass
this
作为
self
parameter. This enables dropping by calling
QWidget::setAcceptDrops
(true)。
[虚拟]
Q3DropSite::
~Q3DropSite
()
Destroys the drop site.