]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Qt4 porting.
authormkr <mkr@opencascade.com>
Tue, 18 Mar 2008 11:57:18 +0000 (11:57 +0000)
committermkr <mkr@opencascade.com>
Tue, 18 Mar 2008 11:57:18 +0000 (11:57 +0000)
src/SMESHGUI/SMESHGUI_MeshDlg.cxx

index f01212a3d6b55c4c1ed0e1a45c774246e2fee189..3f4f40afe420206cb15d0f29eec866ab8fa6910d 100644 (file)
@@ -353,6 +353,7 @@ SMESHGUI_MeshDlg::SMESHGUI_MeshDlg( const bool theToCreate, const bool theIsMesh
 {
   // Create top controls
 
+  setObjectPixmap( "SMESH", tr( "ICON_SELECT" ) );
   // name 
   createObject( tr( "NAME" ), mainFrame(), Obj );
   setNameIndication( Obj, OneName );
@@ -379,6 +380,8 @@ SMESHGUI_MeshDlg::SMESHGUI_MeshDlg( const bool theToCreate, const bool theIsMesh
   myHypoSetButton = new QToolButton( mainFrame() );
   myHypoSetButton->setText( tr( "HYPOTHESES_SETS" ) );
   myHypoSetButton->setEnabled( false );
+  myHypoSetButton->setSizePolicy( QSizePolicy::MinimumExpanding, 
+                                 myHypoSetButton->sizePolicy().verticalPolicy() );
   
   // Fill layout
   QGridLayout* aLay = new QGridLayout( mainFrame() );