以下成员源于类 QDrag 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
Qt::DropAction
|
start (Qt::DropActions request = Qt::CopyAction) |
注意: It is recommended to use exec () 而不是此函数。
启动拖放操作,并在完成时返回指示请求拖拽动作的值。用户可以选择掉落动作从指定 request . Qt::CopyAction is always allowed.
注意: Although the drag and drop operation can take some time, this function does not block the event loop. Other events are still delivered to the application while the operation is performed.
另请参阅 exec ().