From: secher Date: Wed, 2 May 2007 09:05:44 +0000 (+0000) Subject: debug of focus in Params Filter window X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3e236bf4a2c0ebb39d9a211ff823652ef58f7ac1;p=modules%2Ffilter.git debug of focus in Params Filter window --- diff --git a/src/FILTERGUI/SelectParams.cxx b/src/FILTERGUI/SelectParams.cxx index 7c38138..7163eb7 100644 --- a/src/FILTERGUI/SelectParams.cxx +++ b/src/FILTERGUI/SelectParams.cxx @@ -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);