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

Method OnIdClicked

Modules/FormsUI/src/QmitkLinearScaleQuestionWidget.cpp:137–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void QmitkLinearScaleQuestionWidget::OnIdClicked(int id)
138{
139 m_Question->SetResponse(id);
140
141 if (m_ClearButton != nullptr)
142 m_ClearButton->show();
143
144 if (m_Question->IsRequired())
145 this->SetRequirementVisible(!m_Question->IsComplete());
146}
147
148void QmitkLinearScaleQuestionWidget::OnClearButtonClicked()
149{

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected