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

Method defaultDocumentSize

src/document/UBDocumentProxy.cpp:260–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260QSize UBDocumentProxy::defaultDocumentSize() const
261{
262 if (mMetaDatas.contains(UBSettings::documentSize))
263 return metaData(UBSettings::documentSize).toSize();
264 else
265 return UBSettings::settings()->pageSize->get().toSize();
266}
267
268void UBDocumentProxy::setDefaultDocumentSize(QSize pSize)
269{

Callers 3

persistMethod · 0.80
nominalSizeMethod · 0.80
sceneSizeFMethod · 0.80

Calls 2

containsMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected