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

Method Reset

Modules/FormsUI/src/QmitkCheckboxesQuestionWidget.cpp:63–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void QmitkCheckboxesQuestionWidget::Reset()
64{
65 if (m_ButtonGroup != nullptr)
66 {
67 for (auto checkBox : m_ButtonGroup->buttons())
68 checkBox->setChecked(false);
69 }
70
71 if (m_OtherLineEdit != nullptr)
72 m_OtherLineEdit->clear();
73
74 if (m_Question != nullptr)
75 m_Question->ClearResponses();
76
77 QmitkQuestionWidget::Reset();
78}
79
80void QmitkCheckboxesQuestionWidget::CreateWidgets()
81{

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
ClearResponsesMethod · 0.45

Tested by

no test coverage detected