Salome HOME
0022378: EDF 2273 GEOM: Select a point/edge/face/solid in the "Set Rotation Point...
[modules/gui.git] / src / OCCViewer / OCCViewer_SetRotationPointDlg.h
index bd388863e41b76d2f946cb36b0d9724db4e5dbe7..43b36d1ac846d8b3669b6b2481abad3759bc3909 100644 (file)
@@ -26,6 +26,9 @@
 #include "OCCViewer.h"
 
 #include <QDialog>
+#include <QMap>
+
+#include <TopAbs_ShapeEnum.hxx>
 
 class QtxAction;
 
@@ -33,6 +36,7 @@ class QLineEdit;
 class QPushButton;
 class QGroupBox;
 class QCheckBox;
+class QAction;
 
 class OCCViewer_ViewWindow;
 
@@ -54,6 +58,7 @@ public:
 protected:
   OCCViewer_ViewWindow* myView;
   QtxAction* myAction;
+  QMap<QAction*, TopAbs_ShapeEnum> mySelectActions;
 
   QCheckBox*    myIsBBCenter;
 
@@ -72,7 +77,7 @@ protected slots:
   void onBBCenterChecked();
   
   void onToOrigin();
-  void onSelectPoint();
+  void onSelectMenu( QAction* );
 
   void onCoordChanged();