MCPcopy Create free account
hub / github.com/MITK/MITK / OnTextChanged

Method OnTextChanged

Modules/FormsUI/src/QmitkParagraphQuestionWidget.cpp:83–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void QmitkParagraphQuestionWidget::OnTextChanged()
84{
85 m_Question->SetResponse(m_TextEdit->toPlainText().toStdString());
86
87 if (m_Question->IsRequired())
88 this->SetRequirementVisible(!m_Question->IsComplete());
89
90 this->AdjustHeight();
91}

Callers

nothing calls this directly

Calls 5

AdjustHeightMethod · 0.95
IsRequiredMethod · 0.80
SetRequirementVisibleMethod · 0.80
SetResponseMethod · 0.45
IsCompleteMethod · 0.45

Tested by

no test coverage detected