From fb54c33d009ead81d925d16682d2f0563f0b253c Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 20 Mar 2006 09:38:24 +0000 Subject: [PATCH] Fix for Bug IPAL11929 "Build entities" check box in the "Build progress" dialog always inactive --- src/VISUGUI/VisuGUI_BuildProgressDlg.cxx | 16 ++-------------- src/VISUGUI/VisuGUI_BuildProgressDlg.h | 1 - 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/src/VISUGUI/VisuGUI_BuildProgressDlg.cxx b/src/VISUGUI/VisuGUI_BuildProgressDlg.cxx index 0d8cf8c3..58f5180a 100644 --- a/src/VISUGUI/VisuGUI_BuildProgressDlg.cxx +++ b/src/VISUGUI/VisuGUI_BuildProgressDlg.cxx @@ -111,14 +111,11 @@ VisuGUI_BuildProgressDlg::VisuGUI_BuildProgressDlg( QWidget* theParent ): aProgressLayout->setSpacing( 6 ); aProgressLayout->setMargin( 11 ); - myBuildEntitiesCheckBox = new QCheckBox( tr( "BUILD_ENTITIES" ), myProgressBox ); - myBuildEntitiesCheckBox->setChecked( true ); - myBuildEntitiesCheckBox->setEnabled( false ); + QLabel* aBuildEntitiesLabel = new QLabel( tr( "BUILD_ENTITIES" ), myProgressBox ); myBuildEntitiesButton = new QPushButton( myProgressBox ); myBuildEntitiesButton->setEnabled( false ); myBuildEntitiesButton->setFixedSize( 30, 30 ); myBuildEntitiesButton->setPaletteBackgroundColor( Qt::red ); - connect( myBuildEntitiesCheckBox, SIGNAL( clicked() ), this, SLOT( onBuildCheckBoxClicked() ) ); myBuildFieldsCheckBox = new QCheckBox( tr( "BUILD_FIELDS" ), myProgressBox ); myBuildFieldsCheckBox->setChecked( aResourceMgr->booleanValue( "VISU", "build_fields", true ) ); @@ -144,7 +141,7 @@ VisuGUI_BuildProgressDlg::VisuGUI_BuildProgressDlg( QWidget* theParent ): myBuildGroupsButton->setPaletteBackgroundColor( Qt::red ); connect( myBuildGroupsCheckBox, SIGNAL( clicked() ), this, SLOT( onBuildCheckBoxClicked() ) ); - aProgressLayout->addWidget( myBuildEntitiesCheckBox, 0, 0 ); + aProgressLayout->addWidget( aBuildEntitiesLabel, 0, 0 ); aProgressLayout->addWidget( myBuildEntitiesButton, 0, 1 ); aProgressLayout->addWidget( myBuildFieldsCheckBox, 1, 0 ); aProgressLayout->addWidget( myBuildFieldsButton, 1, 1 ); @@ -231,15 +228,6 @@ void VisuGUI_BuildProgressDlg::onStart() //setModal( false ); myFileNameLineEdit->setReadOnly( true ); - /* - myBuildAllCheckBox->setNoChange(); - myBuildAtOnceCheckBox->setNoChange(); - myBuildEntitiesCheckBox->setNoChange(); - myBuildFieldsCheckBox->setNoChange(); - myBuildMinMaxCheckBox->setNoChange(); - myBuildGroupsCheckBox->setNoChange(); - */ - myStartButton->setEnabled( false ); bool aBuildAtOnce = myBuildAtOnceCheckBox->isChecked(); diff --git a/src/VISUGUI/VisuGUI_BuildProgressDlg.h b/src/VISUGUI/VisuGUI_BuildProgressDlg.h index d0db5912..aaabf442 100644 --- a/src/VISUGUI/VisuGUI_BuildProgressDlg.h +++ b/src/VISUGUI/VisuGUI_BuildProgressDlg.h @@ -86,7 +86,6 @@ private: QGroupBox* myProgressBox; - QCheckBox* myBuildEntitiesCheckBox; QPushButton* myBuildEntitiesButton; QCheckBox* myBuildFieldsCheckBox; -- 2.39.2