以下成员源于类 QDragMoveEvent are part of the Qt compatibility layer. We advise against using them in new code.
调用 setAccepted ( y ) 代替。