From 4cf2ab7c42aad2c79e95d3e7112f75d0e7766f8a Mon Sep 17 00:00:00 2001 From: dmv Date: Fri, 14 Mar 2008 14:15:20 +0000 Subject: [PATCH] NPAL13898 Ok Apply Close laborious for User... --- src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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); -- 2.39.2