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.