]> SALOME platform Git repositories - modules/filter.git/commitdiff
Salome HOME
debug of focus in Params Filter window
authorsecher <secher>
Wed, 2 May 2007 09:05:44 +0000 (09:05 +0000)
committersecher <secher>
Wed, 2 May 2007 09:05:44 +0000 (09:05 +0000)
src/FILTERGUI/SelectParams.cxx

index 7c38138e375bf348c7be4f16c7318378a87d3fd8..7163eb76fa3c892184bdecd9cab04aa743884df1 100644 (file)
@@ -157,8 +157,7 @@ void SelectParams::buildFrame()
   // 1)  display histogram button (pushbutton)
   _myHisto = new QPushButton( "", _GroupC1 );
   _myHisto->setText(tr("FILTER_DISPLAY_HISTO"));
-  _myHisto->setAutoDefault(TRUE);
-  _myHisto->setDefault(TRUE);
+  _myHisto->setAutoDefault(FALSE);
   _myGroupLayout->addWidget( _myHisto, row, 0 );
   row++;
 
@@ -227,7 +226,7 @@ void SelectParams::buildFrame()
 
   _myOFB = new QPushButton( "", _myOutFile );
   _myOFB->setText(tr("FILTER_BROWSE"));
-  _myOFB->setAutoDefault(TRUE);
+  _myOFB->setAutoDefault(FALSE);
 
   QGridLayout* outLay = new QGridLayout( _myOutFile->layout() );
   outLay->addWidget( _myOFB, 0, 0 );
@@ -250,15 +249,15 @@ void SelectParams::buildFrame()
   _GroupButtonsLayout->setMargin(11);
   _myProc = new QPushButton(_GroupButtons, "buttonProcess");
   _myProc->setText(tr("FILTER_PROCESS"));
-  _myProc->setAutoDefault(TRUE);
+  _myProc->setAutoDefault(FALSE);
   _GroupButtonsLayout->addWidget(_myProc, 0, 0);
   _buttonHelp = new QPushButton(_GroupButtons, "buttonHelp");
   _buttonHelp->setText(tr("FILTER_BUT_HELP" ));
-  _buttonHelp->setAutoDefault(TRUE);
+  _buttonHelp->setAutoDefault(FALSE);
   _GroupButtonsLayout->addWidget(_buttonHelp, 0, 2);
   _buttonCancel = new QPushButton(_GroupButtons, "buttonCancel");
   _buttonCancel->setText(tr("FILTER_BUT_CANCEL" ));
-  _buttonCancel->setAutoDefault(TRUE);
+  _buttonCancel->setAutoDefault(FALSE);
   _GroupButtonsLayout->addWidget(_buttonCancel, 0, 1);
   _myGroupLayout->addWidget( _GroupButtons, row, 0 );
   _GroupButtons->setDisabled(true);