From: dmv Date: Fri, 14 Mar 2008 14:15:20 +0000 (+0000) Subject: NPAL13898 Ok Apply Close laborious for User... X-Git-Tag: TG_start_ELNO_visualization~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4cf2ab7c42aad2c79e95d3e7112f75d0e7766f8a;p=modules%2Fvisu.git NPAL13898 Ok Apply Close laborious for User... --- diff --git a/src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx b/src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx index e5a61232..69a04799 100644 --- a/src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx +++ b/src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx @@ -112,19 +112,19 @@ VisuGUI_DeformedShapeDlg::VisuGUI_DeformedShapeDlg (SalomeApp_Module* theModule) GroupButtonsLayout->setSpacing(6); GroupButtonsLayout->setMargin(11); - QPushButton* buttonOk = new QPushButton (tr("&OK"), GroupButtons, "buttonOk"); - buttonOk->setAutoDefault(TRUE); - buttonOk->setDefault(TRUE); - GroupButtonsLayout->addWidget(buttonOk, 0, 0); - QPushButton* buttonApply = new QPushButton (tr("&Apply"), GroupButtons, "buttonApply"); buttonApply->setAutoDefault(TRUE); buttonApply->setDefault(TRUE); - GroupButtonsLayout->addWidget(buttonApply, 0, 1); + GroupButtonsLayout->addWidget(buttonApply, 0, 0); QPushButton* buttonCancel = new QPushButton (tr("&Cancel") , GroupButtons, "buttonCancel"); buttonCancel->setAutoDefault(TRUE); - GroupButtonsLayout->addWidget(buttonCancel, 0, 2); + GroupButtonsLayout->addWidget(buttonCancel, 0, 1); + + QPushButton* buttonOk = new QPushButton (tr("A&pply and Close"), GroupButtons, "buttonOk"); + buttonOk->setAutoDefault(TRUE); + buttonOk->setDefault(TRUE); + GroupButtonsLayout->addWidget(buttonOk, 0, 2); QPushButton* buttonHelp = new QPushButton (tr("&Help") , GroupButtons, "buttonHelp"); buttonHelp->setAutoDefault(TRUE);