// Accept all actions, but deal with them separately later. // ! [0] protected void dragEnterEvent(QDragEnterEvent event) { event.acceptProposedAction(); }
// ! [3] protected void dragEnterEvent(QDragEnterEvent event) { if (event.mimeData().hasFormat("text/plain")) event.acceptProposedAction(); }