#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QKeyEvent>
+#include <QButtonGroup>
// IDL includes
#include <SALOMEconfig.h>
{
setModal( false );
setAttribute( Qt::WA_DeleteOnClose, true );
- setWindowTitle( "MESH_NODE_TITLE" );
+ setWindowTitle( tr("MESH_NODE_TITLE") );
setSizeGripEnabled( true );
mySimulation = new SMESH::TNodeSimulation( SMESH::GetViewWindow( mySMESHGUI ) );
/***************************************************************/
GroupConstructors = new QGroupBox( tr( "MESH_NODE" ), this );
+ QButtonGroup* ButtonGroup = new QButtonGroup(this);
QHBoxLayout* GroupConstructorsLayout = new QHBoxLayout( GroupConstructors );
GroupConstructorsLayout->setSpacing( SPACING );
GroupConstructorsLayout->setMargin( MARGIN );
Constructor1 = new QRadioButton( GroupConstructors );
Constructor1->setIcon( image0 );
Constructor1->setChecked( true );
-
+
GroupConstructorsLayout->addWidget( Constructor1 );
- GroupConstructorsLayout->addStretch();
+ ButtonGroup->addButton( Constructor1, 0 );
/***************************************************************/
GroupCoordinates = new QGroupBox( tr( "SMESH_COORDINATES" ), this );