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

Method relativeChanged

src/frontend/widgets/DatapickerImageWidget.cpp:409–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409void DatapickerImageWidget::relativeChanged(bool relative) {
410 CONDITIONAL_LOCK_RETURN;
411
412 for (auto* image : m_imagesList) {
413 image->setRelativeFilePath(relative);
414 }
415
416 // Load new filename
417 ui.leFileName->setText(m_image->fileName());
418}
419
420void DatapickerImageWidget::fileNameChanged() {
421 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 3

setRelativeFilePathMethod · 0.80
setTextMethod · 0.45
fileNameMethod · 0.45

Tested by

no test coverage detected