MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / dragMoveEvent

Method dragMoveEvent

lib/macro/macro-segment-list.cpp:396–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396void MacroSegmentList::dragMoveEvent(QDragMoveEvent *event)
397{
398 auto widget = qobject_cast<QWidget *>(event->source());
399 if (!widgetIsInLayout(widget, _contentLayout)) {
400 return;
401 }
402
403 _dragCursorPos = (mapToGlobal(event->position().toPoint()));
404 CheckDropLine(_dragCursorPos);
405}
406
407QRect MacroSegmentList::GetContentItemRectWithPadding(int idx) const
408{

Callers

nothing calls this directly

Calls 1

widgetIsInLayoutFunction · 0.85

Tested by

no test coverage detected