MCPcopy Create free account
hub / github.com/comaps/comaps / SetRuler

Method SetRuler

qt/draw_widget.cpp:730–735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728}
729
730void DrawWidget::SetRuler(bool enabled)
731{
732 if (!enabled)
733 m_ruler.EraseLine(m_framework.GetDrapeApi());
734 m_ruler.SetActive(enabled);
735}
736
737// static
738void DrawWidget::RefreshDrawingRules()

Callers 1

OnRulerEnabledMethod · 0.80

Calls 2

EraseLineMethod · 0.80
SetActiveMethod · 0.45

Tested by

no test coverage detected