MCPcopy Create free account
hub / github.com/CloudCompare/CloudCompare / length

Function length

libs/CCPluginAPI/include/ccColorScaleEditorWidget.h:137–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135
136 //! Returns useful length
137 int length() const { return (m_orientation == Qt::Horizontal ? contentsRect().width() : contentsRect().height())-2*m_margin; }
138
139 //! Sets associated sliders set
140 virtual void setSliders(SharedColorScaleElementSliders sliders) { m_sliders = sliders; update(); }

Callers 4

addNewSliderMethod · 0.50
updateAllSlidersPosMethod · 0.50
updateSliderPosMethod · 0.50
mouseMoveEventMethod · 0.50

Calls 2

widthMethod · 0.80
heightMethod · 0.80

Tested by

no test coverage detected