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

Method worksheetDescriptionChanged

src/frontend/dockwidgets/WorksheetDock.cpp:499–508  ·  view source on GitHub ↗

SLOTs for changes triggered in Worksheet

Source from the content-addressed store, hash-verified

497//******** SLOTs for changes triggered in Worksheet ***********
498//*************************************************************
499void WorksheetDock::worksheetDescriptionChanged(const AbstractAspect* aspect) {
500 if (m_worksheet != aspect)
501 return;
502
503 CONDITIONAL_LOCK_RETURN;
504 if (aspect->name() != ui.leName->text())
505 ui.leName->setText(aspect->name());
506 else if (aspect->comment() != ui.teComment->text())
507 ui.teComment->setText(aspect->comment());
508}
509
510void WorksheetDock::worksheetScaleContentChanged(bool scaled) {
511 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 4

commentMethod · 0.80
nameMethod · 0.45
textMethod · 0.45
setTextMethod · 0.45

Tested by

no test coverage detected