68 QVBoxLayout *configL =
new QVBoxLayout;
70 foreach (
Input *i, _inputs)
80 configL->addWidget (v->group_);
85 configL->addStretch(1);
87 QPushButton *ok =
new QPushButton (
"OK");
89 connect (ok, SIGNAL (pressed ()),
this, SLOT (accept ()));
91 QHBoxLayout *buttonL =
new QHBoxLayout;
92 buttonL->addStretch();
93 buttonL->addWidget (ok);
95 QVBoxLayout *vL =
new QVBoxLayout;
97 QWidget *sW =
new QWidget;
98 sW->setLayout (configL);
99 QScrollArea *sA =
new QScrollArea;
101 sA->setWidgetResizable (
true);
104 vL->addLayout (buttonL);