MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / setVerticalScrollForTest

Method setVerticalScrollForTest

pj_widgets/src/Timeline.cpp:1946–1948  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1944}
1945
1946void Timeline::setVerticalScrollForTest(int value) {
1947 view_->verticalScrollBar()->setValue(value);
1948}
1949
1950double Timeline::rulerSceneYForTest() const {
1951 return ruler_item_ != nullptr ? ruler_item_->y() : 0.0;

Callers 1

TESTFunction · 0.80

Calls 2

verticalScrollBarMethod · 0.80
setValueMethod · 0.45

Tested by 1

TESTFunction · 0.64