From: ouv Date: Mon, 12 Dec 2005 14:09:56 +0000 (+0000) Subject: Minor changes. X-Git-Tag: TG-D5-38-2003_D2005-20-12~36 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fdecf17ffd854b3d2a7cc476309827cb0860ae9b;p=modules%2Fvisu.git Minor changes. --- diff --git a/src/VISUGUI/VisuGUI_BuildProgressDlg.cxx b/src/VISUGUI/VisuGUI_BuildProgressDlg.cxx index 8a1bd71a..a07680f3 100644 --- a/src/VISUGUI/VisuGUI_BuildProgressDlg.cxx +++ b/src/VISUGUI/VisuGUI_BuildProgressDlg.cxx @@ -73,12 +73,13 @@ VisuGUI_BuildProgressDlg::VisuGUI_BuildProgressDlg( QWidget* theParent ): QLabel* aFileNameLabel = new QLabel( tr( "FILE_NAME" ), mySettingsBox ); myFileNameLineEdit = new QLineEdit( mySettingsBox ); myFileNameLineEdit->setMinimumWidth( 250 ); - + myFileNameLineEdit->setReadOnly( true ); + /* QPushButton* aFileNameButton = new QPushButton( mySettingsBox ); aFileNameButton->setAutoDefault( false ); aFileNameButton->setPixmap( aResourceMgr->loadPixmap( "VISU", tr( "ICON_LOAD_TEXTURE" ) ) ); connect( aFileNameButton, SIGNAL( clicked() ), this, SLOT( onBrowseFile() ) ); - + */ myBuildAllCheckBox = new QCheckBox( tr( "BUILD_ALL" ), mySettingsBox ); myBuildAllCheckBox->setChecked( aResourceMgr->booleanValue( "VISU", "full_med_loading", false ) ); connect( myBuildAllCheckBox, SIGNAL( clicked() ), this, SLOT( onBuildCheckBoxClicked() ) ); @@ -92,7 +93,7 @@ VisuGUI_BuildProgressDlg::VisuGUI_BuildProgressDlg( QWidget* theParent ): aSettingsLayout->addWidget( aFileNameLabel, 0, 0 ); aSettingsLayout->addMultiCellWidget( myFileNameLineEdit, 1, 1, 0, 1 ); - aSettingsLayout->addWidget( aFileNameButton, 1, 2 ); + //aSettingsLayout->addWidget( aFileNameButton, 1, 2 ); aSettingsLayout->addWidget( myBuildAllCheckBox, 2, 0 ); aSettingsLayout->addWidget( myBuildAtOnceCheckBox, 3, 0 ); aSettingsLayout->addWidget( myCloseCheckBox, 4, 0 ); diff --git a/src/VVTK/VVTK_RecorderDlg.cxx b/src/VVTK/VVTK_RecorderDlg.cxx index 6abb1daa..b188c99e 100644 --- a/src/VVTK/VVTK_RecorderDlg.cxx +++ b/src/VVTK/VVTK_RecorderDlg.cxx @@ -73,12 +73,12 @@ VVTK_RecorderDlg::VVTK_RecorderDlg( QWidget* theParent, VVTK_Recorder* theRecord myFileNameLineEdit = new QLineEdit( mySettingsBox ); myFileNameLineEdit->setMinimumWidth( 250 ); myFileNameLineEdit->setReadOnly( true ); - + /* QPushButton* aFileNameButton = new QPushButton( mySettingsBox ); aFileNameButton->setAutoDefault( false ); aFileNameButton->setPixmap( aResourceMgr->loadPixmap( "VISU", tr( "ICON_LOAD_TEXTURE" ) ) ); connect( aFileNameButton, SIGNAL( clicked() ), this, SLOT( onBrowseFile() ) ); - + */ QLabel* aRecordingModeLabel = new QLabel( tr( "RECORDING_MODE" ), mySettingsBox ); myRecordingModeComboBox = new QComboBox( mySettingsBox ); myRecordingModeComboBox->insertItem( tr( "SKIPPED_FRAMES" ) ); @@ -98,7 +98,7 @@ VVTK_RecorderDlg::VVTK_RecorderDlg( QWidget* theParent, VVTK_Recorder* theRecord aSettingsLayout->addWidget( aFileNameLabel, 0, 0 ); aSettingsLayout->addMultiCellWidget( myFileNameLineEdit, 1, 1, 0, 1 ); - aSettingsLayout->addWidget( aFileNameButton, 1, 2 ); + //aSettingsLayout->addWidget( aFileNameButton, 1, 2 ); aSettingsLayout->addWidget( aRecordingModeLabel, 2, 0 ); aSettingsLayout->addWidget( myRecordingModeComboBox, 2, 1 ); aSettingsLayout->addWidget( aFPSLabel, 3, 0 );