SLOTs for changes triggered in Worksheet
| 497 | //******** SLOTs for changes triggered in Worksheet *********** |
| 498 | //************************************************************* |
| 499 | void 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 | |
| 510 | void WorksheetDock::worksheetScaleContentChanged(bool scaled) { |
| 511 | CONDITIONAL_LOCK_RETURN; |