MCPcopy Create free account
hub / github.com/KDE/labplot / foregroundSpanChanged

Method foregroundSpanChanged

src/frontend/widgets/DatapickerImageWidget.cpp:531–539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531void DatapickerImageWidget::foregroundSpanChanged(int lowerLimit, int upperLimit) {
532 CONDITIONAL_LOCK_RETURN;
533
534 auto settings = m_image->settings();
535 settings.foregroundThresholdHigh = upperLimit;
536 settings.foregroundThresholdLow = lowerLimit;
537 for (auto* image : m_imagesList)
538 image->setSettings(settings);
539}
540
541void DatapickerImageWidget::hueSpanChanged(int lowerLimit, int upperLimit) {
542 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 1

setSettingsMethod · 0.80

Tested by

no test coverage detected