MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / dragMoveEvent

Method dragMoveEvent

gui/nnotebookview.cpp:1021–1030  ·  view source on GitHub ↗

Accept the drag move event if possible

Source from the content-addressed store, hash-verified

1019
1020// Accept the drag move event if possible
1021void NNotebookView::dragMoveEvent(QDragMoveEvent *event) {
1022 WidgetPanel *parent = (WidgetPanel*)parentWidget();
1023 parent->dragMoveHandler(event);
1024
1025 if (event->mimeData()->hasFormat("application/x-nixnote-note")) {
1026 if (event->answerRect().intersects(childrenRect()))
1027 event->acceptProposedAction();
1028 return;
1029 }
1030}
1031
1032
1033QSize NNotebookView::sizeHint() {

Callers

nothing calls this directly

Calls 1

dragMoveHandlerMethod · 0.80

Tested by

no test coverage detected