MCPcopy Create free account
hub / github.com/OpenBoard-org/OpenBoard / enableDropOnWidget

Method enableDropOnWidget

src/api/UBWidgetUniboardAPI.cpp:498–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496}
497
498void UBWidgetUniboardAPI::enableDropOnWidget(bool enable, bool processFileDrop)
499{
500 if (mGraphicsWidget)
501 {
502 mGraphicsWidget->setAcceptDrops(enable);
503 }
504
505 mProcessFileDrop = processFileDrop;
506}
507
508bool UBWidgetUniboardAPI::ProcessDropEvent(QGraphicsSceneDragDropEvent *event)
509{

Callers 15

startFunction · 0.80
startFunction · 0.80
startFunction · 0.80
startFunction · 0.80
startFunction · 0.80
reloadAppFunction · 0.80
startFunction · 0.80
startFunction · 0.80
startFunction · 0.80
startFunction · 0.80
startFunction · 0.80
reloadAppFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected