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

Method OnClearButtonClicked

Modules/FormsUI/src/QmitkLinearScaleQuestionWidget.cpp:148–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void QmitkLinearScaleQuestionWidget::OnClearButtonClicked()
149{
150 auto checkedButton = m_ButtonGroup->checkedButton();
151
152 if (checkedButton != nullptr)
153 {
154 m_ButtonGroup->setExclusive(false);
155 checkedButton->setChecked(false);
156 m_ButtonGroup->setExclusive(true);
157 }
158
159 if (m_ClearButton != nullptr)
160 m_ClearButton->hide();
161}

Callers 1

ResetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected