Salome HOME
PAL10125 - by double click on reference original object becomes selected
[modules/gui.git] / src / GLViewer / GLViewer_ViewFrame.h
index 18d17263197423caab66e78174ebefd8267635d7..6c735331690dd9b9c1eb23c8ee7019bdb355d135 100644 (file)
 class QColor;
 
 class SUIT_Desktop;
-class QtxAction;
+
 class GLViewer_Viewer;
 class GLViewer_ViewPort;
 
+#include <qaction.h>
+
 #ifdef WNT
 #pragma warning( disable:4251 )
 #endif
 
-class GLVIEWER_EXPORT GLViewer_ViewFrame: public SUIT_ViewWindow
+/*! Class GLViewer_ViewFrame
+*   Frame window for viewport in GLViewer
+*/
+
+class GLVIEWER_API GLViewer_ViewFrame: public SUIT_ViewWindow
 {
   Q_OBJECT
     
@@ -34,7 +40,7 @@ public:
   GLViewer_ViewFrame( SUIT_Desktop* , GLViewer_Viewer* );
   ~GLViewer_ViewFrame();
   
-public:
+public:  
   void                    setViewer( GLViewer_Viewer* );
   GLViewer_Viewer*        getViewer() const;
   
@@ -88,8 +94,9 @@ private:
   void           createToolBar();
   
 private:
+  //! Actions ID
   enum { DumpId, FitAllId, FitRectId, FitSelectId, ZoomId, PanId, GlobalPanId, ResetId };
-  typedef QMap<int, QtxAction*> ActionsMap;
+  typedef QMap<int, QAction*> ActionsMap;
   
 private:
   ActionsMap       myActionsMap;