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

Method QmitkDropdownQuestionWidget

Modules/FormsUI/src/QmitkDropdownQuestionWidget.cpp:22–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20using Self = QmitkDropdownQuestionWidget;
21
22QmitkDropdownQuestionWidget::QmitkDropdownQuestionWidget(QWidget* parent)
23 : QmitkQuestionWidget(parent),
24 m_Question(nullptr),
25 m_Layout(new QVBoxLayout),
26 m_ComboBox(new QComboBox)
27{
28 m_Layout->addWidget(m_ComboBox);
29
30 this->InsertLayout(m_Layout);
31
32 connect(m_ComboBox, &QComboBox::currentIndexChanged, this, &Self::OnCurrentIndexChanged);
33}
34
35QmitkDropdownQuestionWidget::~QmitkDropdownQuestionWidget()
36{

Callers

nothing calls this directly

Calls 1

InsertLayoutMethod · 0.80

Tested by

no test coverage detected