]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
NPAL13898 Ok Apply Close laborious for User...
authordmv <dmv@opencascade.com>
Fri, 14 Mar 2008 14:15:20 +0000 (14:15 +0000)
committerdmv <dmv@opencascade.com>
Fri, 14 Mar 2008 14:15:20 +0000 (14:15 +0000)
src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx

index e5a61232f78c191cd849ef2c3a2da36fcd2d45fa..69a04799cab2ea511a718a946aad56baa4c4a9d9 100644 (file)
@@ -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);