MCPcopy Create free account
hub / github.com/XRay3D/GERBER_X3 / dropEvent

Method dropEvent

static_libs/graphicsview/graphicsview.cpp:362–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362void GraphicsView::dropEvent(QDropEvent* event)
363{
364 for (QUrl& var : event->mimeData()->urls())
365 emit fileDroped(var.path().remove(0, 1));
366 event->acceptProposedAction();
367}
368
369void GraphicsView::dragMoveEvent(QDragMoveEvent* event) { event->acceptProposedAction(); }
370

Callers

nothing calls this directly

Calls 3

mimeDataMethod · 0.80
pathMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected