Q3DropSite Class

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:: Q3DropSite ( QWidget * self )

构造 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.