MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / setProperties

Method setProperties

Components/HistogramDialog.cpp:199–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199void
200HistogramDialog::setProperties(SamplingProperties const &prop)
201{
202 this->properties = prop;
203
204 if (prop.space == SamplingSpace::AMPLITUDE) {
205 this->dummyDecider.setMinimum(0);
206 this->dummyDecider.setMaximum(1);
207 this->dummyDecider.setDecisionMode(Decider::MODULUS);
208 } else {
209 this->dummyDecider.setMinimum(-PI);
210 this->dummyDecider.setMaximum(PI);
211 this->dummyDecider.setDecisionMode(Decider::ARGUMENT);
212 }
213
214 this->refreshUi();
215}
216
217
218void

Callers

nothing calls this directly

Calls 2

refreshUiMethod · 0.95
setDecisionModeMethod · 0.80

Tested by

no test coverage detected