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

Method colorScaleChanged

libs/CCPluginAPI/src/ccColorScaleEditorDlg.cpp:159–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void ccColorScaleEditorDialog::colorScaleChanged(int pos)
160{
161 QString UUID = m_ui->rampComboBox->itemData(pos).toString();
162 ccColorScale::Shared colorScale = ccColorScalesManager::GetUniqueInstance()->getScale(UUID);
163
164 setActiveScale(colorScale);
165}
166
167void ccColorScaleEditorDialog::relativeModeChanged(int value)
168{

Callers

nothing calls this directly

Calls 3

itemDataMethod · 0.80
toStringMethod · 0.45
getScaleMethod · 0.45

Tested by

no test coverage detected