MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / dragEnterEvent

Method dragEnterEvent

MiniZincIDE/mainwindow.cpp:611–614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

609}
610
611void MainWindow::dragEnterEvent(QDragEnterEvent* event) {
612 if (event->mimeData()->hasFormat("text/uri-list"))
613 event->acceptProposedAction();
614}
615
616void MainWindow::dropEvent(QDropEvent* event) {
617 const QMimeData* mimeData = event->mimeData();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected