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

Method SetPosWithBlockedSignals

qt/qt_common/scale_slider.cpp:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void ScaleSlider::SetPosWithBlockedSignals(double pos)
67{
68 bool const blocked = signalsBlocked();
69 blockSignals(true);
70 setSliderPosition(std::lround(pos * m_factor));
71 blockSignals(blocked);
72}
73
74void ScaleSlider::SetRange(int low, int up)
75{

Callers 1

UpdateScaleControlMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected