Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing of bug concerning the resizing dialogue after choice another tabs
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_MeshPatternDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_MeshPatternDlg.cxx
b/src/SMESHGUI/SMESHGUI_MeshPatternDlg.cxx
index 73d384cae7843ed2c6004babe71384af6b90f179..46bf3ef55f73d3773143e785055c307d01a84b01 100755
(executable)
--- a/
src/SMESHGUI/SMESHGUI_MeshPatternDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_MeshPatternDlg.cxx
@@
-119,13
+119,13
@@
SMESHGUI_MeshPatternDlg::SMESHGUI_MeshPatternDlg( SMESHGUI* theModule )
aDlgLay->setMargin( MARGIN );
aDlgLay->setSpacing( SPACING );
aDlgLay->setMargin( MARGIN );
aDlgLay->setSpacing( SPACING );
-
QWidget* a
MainFrame = createMainFrame ( this );
+
my
MainFrame = createMainFrame ( this );
QWidget* aBtnFrame = createButtonFrame( this );
QWidget* aBtnFrame = createButtonFrame( this );
- aDlgLay->addWidget(
a
MainFrame );
+ aDlgLay->addWidget(
my
MainFrame );
aDlgLay->addWidget( aBtnFrame );
aDlgLay->addWidget( aBtnFrame );
- aDlgLay->setStretchFactor(
a
MainFrame, 1 );
+ aDlgLay->setStretchFactor(
my
MainFrame, 1 );
mySelector = (SMESH::GetViewWindow( mySMESHGUI ))->GetSelector();
mySelector = (SMESH::GetViewWindow( mySMESHGUI ))->GetSelector();
@@
-1201,11
+1201,16
@@
void SMESHGUI_MeshPatternDlg::onTypeChanged (int theType)
myNode2Lbl->show();
myNode2 ->show();
}
myNode2Lbl->show();
myNode2 ->show();
}
-
mySelInput = Mesh;
activateSelection();
updateWgState();
displayPreview();
mySelInput = Mesh;
activateSelection();
updateWgState();
displayPreview();
+ myPicture2d->hide();
+ myPicture2d->show();
+ myPicture2d->resize(minimumSizeHint());
+ myMainFrame->hide();
+ myMainFrame->show();
+ resize(minimumSizeHint());
}
//=======================================================================
}
//=======================================================================
@@
-1331,8
+1336,10
@@
void SMESHGUI_MeshPatternDlg::onModeToggled (bool on)
{
on ? myRefineGrp->show() : myRefineGrp->hide();
on ? myGeomGrp->hide() : myGeomGrp->show();
{
on ? myRefineGrp->show() : myRefineGrp->hide();
on ? myGeomGrp->hide() : myGeomGrp->show();
-
+ myMainFrame->hide();
+ myMainFrame->show();
displayPreview();
displayPreview();
+ resize(minimumSizeHint());
}
//=======================================================================
}
//=======================================================================