#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QKeyEvent>
+#include <QButtonGroup>
// IDL includes
#include <SALOMEconfig.h>
SMESHGUI_RenumberingDlgLayout->setMargin(MARGIN);
/***************************************************************/
- QGroupBox* GroupConstructors = new QGroupBox(unit == 0 ?
- tr("SMESH_NODES") :
- tr("SMESH_ELEMENTS"),
- this);
+ GroupConstructors = new QGroupBox(unit == 0 ?
+ tr("SMESH_NODES") :
+ tr("SMESH_ELEMENTS"),
+ this);
myHelpFileName = unit == 0 ?
"renumbering_nodes_and_elements_page.html#renumbering_nodes_anchor" :
"renumbering_nodes_and_elements_page.html#renumbering_elements_anchor";
+ 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);
/***************************************************************/
GroupMesh = new QGroupBox(tr("SMESH_RENUMBERING"), this);