#Length
msgid "GEOM_LENGTH"
-msgstr "Length is :"
+msgstr "Length :"
#Weight
msgid "GEOM_WEIGHT"
#: GeometryGUI_AngleDlg.cxx:82
msgid "GEOM_MEASURE_ANGLE_TITLE"
-msgstr "Angle Between Two Objects"
+msgstr "Angle Between Two Straight Edges/Lines/Vectors"
#: GeometryGUI_AngleDlg.cxx:86
msgid "GEOM_MEASURE_ANGLE_ANGLE"
#: GeometryGUI_AngleDlg.cxx:93
msgid "GEOM_MEASURE_ANGLE_IS"
-msgstr "Angle is :"
+msgstr "Angle in degrees :"
#: GeometryGUI_EdgeDlg.cxx:47
msgid "GEOM_EDGE_TITLE"
#include "GEOMBase.h"
#include "GEOM_Displayer.h"
#include "DlgRef_SpinBox.h"
+#include "GeometryGUI.h"
#include "SUIT_Session.h"
#include "SUIT_ViewWindow.h"
+#include "SUIT_MessageBox.h"
#include "SOCC_Prs.h"
#include "SOCC_ViewModel.h"
#include "SalomeApp_Tools.h"
+#include "SalomeApp_Application.h"
// OCCT Includes
#include <AIS_AngleDimension.hxx>
return false;
}
- return getOperation()->IsDone();
+ bool isDone = getOperation()->IsDone();
+ if (!isDone) {
+ CORBA::String_var aMsg = getOperation()->GetErrorCode();
+ SUIT_MessageBox::warn1((QWidget*)myGeomGUI->getApp()->desktop(),
+ QObject::tr("WRN_WARNING"),
+ QObject::tr(aMsg.in()),
+ QObject::tr("BUT_OK"));
+ }
+ return isDone;
}
return false;