X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_ActionsMgr.cpp;h=2468786c43859ced97f6586a46310ef28c820908;hb=220bd2b37119be1c65abf88a88792445cb9d99f8;hp=c16332fd23ea467142f05f61d98a480ba19b3c49;hpb=24f9658d6e124a268c6a3abcf24f07aa2dc6d268;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_ActionsMgr.cpp b/src/XGUI/XGUI_ActionsMgr.cpp index c16332fd2..2468786c4 100644 --- a/src/XGUI/XGUI_ActionsMgr.cpp +++ b/src/XGUI/XGUI_ActionsMgr.cpp @@ -228,20 +228,25 @@ QAction* XGUI_ActionsMgr::operationStateAction(OperationStateActionId theId, QOb } else { switch (theId) { case Accept: - case AcceptAll: + case AcceptAll: { aResult = new QAction(QIcon(":pictures/button_ok.png"), "", theParent); - break; + aResult->setToolTip("Apply"); + } + break; case Abort: case AbortAll: { aResult = new QAction(QIcon(":pictures/button_cancel.png"), "", theParent); - if(theId == Abort) { + aResult->setToolTip("Cancel"); + if (theId == Abort) { aResult->setShortcut(QKeySequence(Qt::Key_Escape)); } } break; - case Help: + case Help: { aResult = new QAction(QIcon(":pictures/button_help.png"), "", theParent); - break; + aResult->setToolTip("Help"); + } + break; default: break; }