以下成員源於類 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 ().