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);