MCPcopy Create free account
hub / github.com/YACReader/yacreader / reset

Method reset

YACReader/continuous_view_model.cpp:14–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14void ContinuousViewModel::reset()
15{
16 numPagesValue = 0;
17 pageSizes.clear();
18 defaultPageSize = QSize(800, 1200);
19 scrollYValue = 0;
20 anchorPage = -1;
21 layoutSnapshot = LayoutSnapshot();
22 emit stateChanged();
23}
24
25void ContinuousViewModel::setNumPages(int count)
26{

Callers

nothing calls this directly

Calls 2

LayoutSnapshotClass · 0.85
clearMethod · 0.45

Tested by

no test coverage detected