Qt4 porting.

This commit is contained in:
mkr 2008-03-18 11:57:18 +00:00
parent 66180fa69a
commit 8489405104

View File

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