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.