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

Method resize

src/api/UBWidgetUniboardAPI.cpp:411–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409
410
411void UBWidgetUniboardAPI::resize(qreal width, qreal height)
412{
413 if (qIsNaN(width) || qIsNaN(height)
414 || qIsInf(width) || qIsInf(height))
415 return;
416
417 if (mGraphicsWidget)
418 {
419 mGraphicsWidget->resize(width, height);
420 }
421}
422
423
424void UBWidgetUniboardAPI::setPreference(const QString& key, QString value)

Callers 15

agrandirAffichageFunction · 0.45
OpenLayers.jsFile · 0.45
vertexResizeFnFunction · 0.45
handleMoveFnFunction · 0.45
resizeWidgetFunction · 0.45
initFunction · 0.45
script.jsFile · 0.45
script.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected