layout->addWidget(selector_, Qt::AlignLeft);
ButtonBox* buttons = new ButtonBox;
+ buttons->setOrientation(Qt::Horizontal);
connect(buttons->addButton(tr("Save"), QDialogButtonBox::AcceptRole), SIGNAL(clicked(bool)), this, SLOT(saveUnit()));
layout->addWidget(buttons);