| 394 | } |
| 395 | |
| 396 | void 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 | |
| 407 | QRect MacroSegmentList::GetContentItemRectWithPadding(int idx) const |
| 408 | { |
nothing calls this directly
no test coverage detected