break;
}
}
-
+ myGroupArguments->hide();
+ myGroupArguments->show();
+ this->resize(this->sizeHint().width(), this->minimumSizeHint().height());
// Process selection
onSelectionChanged();
}
if (CheckBoxMesh->isChecked())
onSelectMesh(true);
+ myEditCurrentArgument->hide();
+ myEditCurrentArgument->show();
+
connect(mySelectionMgr, SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
}
aDlgLay->setMargin( MARGIN );
aDlgLay->setSpacing( SPACING );
- QWidget* aMainFrame = createMainFrame ( this );
+ myMainFrame = createMainFrame ( this );
QWidget* aBtnFrame = createButtonFrame( this );
- aDlgLay->addWidget( aMainFrame );
+ aDlgLay->addWidget( myMainFrame );
aDlgLay->addWidget( aBtnFrame );
- aDlgLay->setStretchFactor( aMainFrame, 1 );
+ aDlgLay->setStretchFactor( myMainFrame, 1 );
mySelector = (SMESH::GetViewWindow( mySMESHGUI ))->GetSelector();
myNode2Lbl->show();
myNode2 ->show();
}
-
mySelInput = Mesh;
activateSelection();
updateWgState();
displayPreview();
+ myPicture2d->hide();
+ myPicture2d->show();
+ myPicture2d->resize(minimumSizeHint());
+ myMainFrame->hide();
+ myMainFrame->show();
+ resize(minimumSizeHint());
}
//=======================================================================
{
on ? myRefineGrp->show() : myRefineGrp->hide();
on ? myGeomGrp->hide() : myGeomGrp->show();
-
+ myMainFrame->hide();
+ myMainFrame->show();
displayPreview();
+ resize(minimumSizeHint());
}
//=======================================================================
QMap<int, QLineEdit*> mySelEdit;
QMap<int, QLabel*> mySelLbl;
+ QWidget* myMainFrame;
+
QLineEdit* myName;
QPushButton* myOpenBtn;
QPushButton* myNewBtn;
}
SMESHGUI_MultiEditDlg::on3d2dChanged( !myEntityType );
myEntityType = 1; // == VOLUME
+ myChoiceWidget->hide();
+ myChoiceWidget->show();
+ resize(minimumSizeHint());
onSelectionDone();
}
: QFrame( parent )
{
myMinU = myMinV = myMaxU = myMaxV = 0;
- setMinimumHeight( 150 );
+ //setMinimumHeight( 150 );
}
//=================================================================================
connect(mySelectionMgr, SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
QApplication::instance()->processEvents();
+ myEditCurrentArgument->hide();
+ myEditCurrentArgument->show();
updateGeometry();
resize(100,100);
}
onDisplaySimulation(true);
QApplication::instance()->processEvents();
+ myEditCurrentArgument->hide();
+ myEditCurrentArgument->show();
updateGeometry();
resize(100,100);
}
connect(mySelectionMgr, SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
onDisplaySimulation(true);
-
+ myEditCurrentArgument->hide();
+ myEditCurrentArgument->show();
QApplication::instance()->processEvents();
updateGeometry();
resize(100,100);