24 QHBoxLayout* nameLayout =
new QHBoxLayout;
25 QLabel* name =
new QLabel();
28 QPushButton* addItembutton =
new QPushButton(
"add Item");
29 addItembutton->setFixedSize(100, 40);
31 nameLayout->addWidget(name);
32 nameLayout->addWidget(addItembutton);
37 QObject::connect(addItembutton, SIGNAL(pressed()),
this, SLOT(
addItemWidget()));