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

Method CreateWidgets

Modules/FormsUI/src/QmitkDropdownQuestionWidget.cpp:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void QmitkDropdownQuestionWidget::CreateWidgets()
74{
75 this->RemoveWidgets();
76
77 for (const auto& option : m_Question->GetOptions())
78 m_ComboBox->addItem(QString::fromStdString(option));
79}
80
81void QmitkDropdownQuestionWidget::RemoveWidgets()
82{

Callers 1

SetQuestionMethod · 0.95

Calls 2

RemoveWidgetsMethod · 0.95
GetOptionsMethod · 0.45

Tested by

no test coverage detected