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

Method setViewMode

pj_widgets/src/CurveTreeView.cpp:518–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516}
517
518void CurveTreeView::setViewMode(ViewMode mode) {
519 if (view_mode_ == mode) {
520 return;
521 }
522 view_mode_ = mode;
523 // Force the next applyFilter() call to actually re-run, otherwise the
524 // text-equality short-circuit at the top of applyFilter() would skip the
525 // re-filter that the post-rebuild caller expects.
526 last_filter_.clear();
527}
528
529void CurveTreeView::clearCurves() {
530 clear();

Callers 2

CurveListPanelMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected