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

Method OnTextEdited

Modules/FormsUI/src/QmitkShortAnswerQuestionWidget.cpp:72–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void QmitkShortAnswerQuestionWidget::OnTextEdited(const QString& text)
73{
74 m_Question->SetResponse(text.toStdString());
75
76 if (m_Question->IsRequired())
77 this->SetRequirementVisible(!m_Question->IsComplete());
78}

Callers

nothing calls this directly

Calls 4

IsRequiredMethod · 0.80
SetRequirementVisibleMethod · 0.80
SetResponseMethod · 0.45
IsCompleteMethod · 0.45

Tested by

no test coverage detected