#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QKeyEvent>
+#include <QButtonGroup>
// IDL includes
#include <SALOMEconfig.h>
/***************************************************************/
GroupConstructors = new QGroupBox(tr("SMESH_NODES"), this);
+ QButtonGroup* ButtonGroup = new QButtonGroup(this);
QHBoxLayout* GroupConstructorsLayout = new QHBoxLayout(GroupConstructors);
GroupConstructorsLayout->setSpacing(SPACING);
GroupConstructorsLayout->setMargin(MARGIN);
Constructor1->setChecked(true);
GroupConstructorsLayout->addWidget(Constructor1);
- GroupConstructorsLayout->addStretch();
+ ButtonGroup->addButton(Constructor1, 0);
/***************************************************************/
GroupC1 = new QGroupBox(tr("SMESH_REMOVE"), this);
GroupButtonsLayout->setSpacing(SPACING);
GroupButtonsLayout->setMargin(MARGIN);
- buttonOk = new QPushButton(tr("SMESH_BUT_OK"), GroupButtons);
+ buttonOk = new QPushButton(tr("SMESH_BUT_APPLY_AND_CLOSE"), GroupButtons);
buttonOk->setAutoDefault(true);
buttonOk->setDefault(true);
buttonApply = new QPushButton(tr("SMESH_BUT_APPLY"), GroupButtons);