13 #ifndef QmitknnUNetEnsembleLayout_h
14 #define QmitknnUNetEnsembleLayout_h
17 #include <QtWidgets/QGridLayout>
18 #include <QtWidgets/QVBoxLayout>
19 #include <QtWidgets/QWidget>
20 #include <QtWidgets/QLabel>
21 #include <ctkCheckableComboBox.h>
22 #include <ctkComboBox.h>
44 this->parent = inputGroupBox_1;
45 QVBoxLayout* verticalLayout_x =
new QVBoxLayout(inputGroupBox_1);
46 verticalLayout_x->setObjectName(QString::fromUtf8(
"verticalLayout_x"));
47 QGridLayout* g_x =
new QGridLayout();
52 g_x->setContentsMargins(0, 0, 0, 0);
54 g_x->setObjectName(QString::fromUtf8(
"g_2"));
56 modelLabel =
new QLabel(
"Configuration", inputGroupBox_1);
57 g_x->addWidget(modelLabel, 0, 0, 1, 1);
58 trainerLabel =
new QLabel(
"Trainer", inputGroupBox_1);
59 g_x->addWidget(trainerLabel, 0, 1, 1, 1);
61 modelBox =
new ctkComboBox(inputGroupBox_1);
62 modelBox->setObjectName(QString::fromUtf8(
"modelBox_1"));
63 g_x->addWidget(modelBox, 1, 0, 1, 1);
64 trainerBox =
new ctkComboBox(inputGroupBox_1);
65 trainerBox->setObjectName(QString::fromUtf8(
"trainerBox_1"));
66 g_x->addWidget(trainerBox, 1, 1, 1, 1);
68 plannerLabel =
new QLabel(
"Planner", inputGroupBox_1);
69 g_x->addWidget(plannerLabel, 2, 0, 1, 1);
70 foldLabel =
new QLabel(
"Fold", inputGroupBox_1);
71 g_x->addWidget(foldLabel, 2, 1, 1, 1);
73 plannerBox =
new ctkComboBox(inputGroupBox_1);
74 plannerBox->setObjectName(QString::fromUtf8(
"plannerBox_1"));
75 g_x->addWidget(plannerBox, 3, 0, 1, 1);
76 foldBox =
new ctkCheckableComboBox(inputGroupBox_1);
77 foldBox->setObjectName(QString::fromUtf8(
"foldBox_1"));
78 g_x->addWidget(foldBox, 3, 1, 1, 1);
80 verticalLayout_x->addLayout(g_x);
85 this->parent->setVisible(visiblity);