Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#1330 Multiply selection when Create fillet using Shift button
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_ActionsMgr.cpp
diff --git
a/src/XGUI/XGUI_ActionsMgr.cpp
b/src/XGUI/XGUI_ActionsMgr.cpp
index c16332fd23ea467142f05f61d98a480ba19b3c49..2468786c43859ced97f6586a46310ef28c820908 100644
(file)
--- 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:
} else {
switch (theId) {
case Accept:
- case AcceptAll:
+ case AcceptAll:
{
aResult = new QAction(QIcon(":pictures/button_ok.png"), "", theParent);
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);
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;
aResult->setShortcut(QKeySequence(Qt::Key_Escape));
}
}
break;
- case Help:
+ case Help:
{
aResult = new QAction(QIcon(":pictures/button_help.png"), "", theParent);
aResult = new QAction(QIcon(":pictures/button_help.png"), "", theParent);
- break;
+ aResult->setToolTip("Help");
+ }
+ break;
default:
break;
}
default:
break;
}