- GroupContent = new QGroupBox( this, "GroupContent" );
- GroupContent->setTitle( tr( "SMESH_CONTENT" ) );
- GroupContent->setColumnLayout(0, Qt::Vertical );
- GroupContent->layout()->setSpacing( 0 );
- GroupContent->layout()->setMargin( 0 );
- GroupContentLayout = new QGridLayout( GroupContent->layout() );
- GroupContentLayout->setAlignment( Qt::AlignTop );
- GroupContentLayout->setSpacing( 6 );
- GroupContentLayout->setMargin( 11 );
-
- QFrame* anIds = new QFrame(GroupContent, "anIds");
- QGridLayout* aLayout = new QGridLayout(anIds, 1, 3);
- aLayout->setSpacing(6);
- aLayout->setAutoAdd(false);
-
- TextLabelIds = new QLabel( anIds, "TextLabelIds" );
- TextLabelIds->setText( tr( "SMESH_ID_NODES" ) );
- TextLabelIds->setFixedWidth(74);
- aLayout->addWidget( TextLabelIds, 0, 0 );
-
- SelectElementsButton = new QPushButton( anIds, "SelectElementsButton" );
- SelectElementsButton->setText( tr( "" ) );
- SelectElementsButton->setPixmap( image0 );
- SelectElementsButton->setToggleButton( FALSE );
- aLayout->addWidget( SelectElementsButton, 0, 1 );
-
- LineEditElements = new QLineEdit( anIds, "LineEditElements" );
- LineEditElements->setValidator( new SMESHGUI_IdValidator( this, "validator" ));
- aLayout->addWidget( LineEditElements, 0, 2 );
-
- GroupContentLayout->addMultiCellWidget(anIds, 0, 0, 0, 1);
-
- myFacesByNodesLabel = new QLabel(GroupContent, "faces by nodes label");
- myFacesByNodesLabel->setText(tr("FACES_BY_NODES"));
- GroupContentLayout->addWidget( myFacesByNodesLabel, 1, 0 );
-
- myFacesByNodes = new QListBox(GroupContent, "faces by nodes list");
- myFacesByNodes->setSelectionMode(QListBox::Extended);
- myFacesByNodes->setMinimumHeight(150);
- GroupContentLayout->addMultiCellWidget( myFacesByNodes, 2, 4, 0, 0 );
-
- AddButton = new QPushButton(GroupContent, "add");
- AddButton->setText(tr("SMESH_BUT_ADD"));
- AddButton->setMaximumWidth(85);
- GroupContentLayout->addWidget( AddButton, 2, 1 );
-
- RemoveButton = new QPushButton(GroupContent, "remove");
- RemoveButton->setText(tr("SMESH_BUT_REMOVE"));
- RemoveButton->setMaximumWidth(85);
- GroupContentLayout->addWidget( RemoveButton, 3, 1 );
-
- Preview = new QCheckBox( GroupContent, "Preview" );
- Preview->setText( tr( "SMESH_POLYEDRE_PREVIEW" ) );
- GroupContentLayout->addWidget( Preview , 5, 0 );