Salome HOME
PAL16774 (Crash after display of many groups)
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_ClippingDlg.h
index 28872443402c3745bdc63155a2bf030bd13c74a1..a0f221bda5b333090b7abe82d1cb74925ecf1044 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
@@ -29,6 +29,8 @@
 #ifndef DIALOGBOX_CLIPPING_H
 #define DIALOGBOX_CLIPPING_H
 
+#include "SMESH_SMESHGUI.hxx"
+
 #include <SMESHGUI_SpinBox.h>
 
 #include <vtkSmartPointer.h>
@@ -46,7 +48,7 @@ class QTable;
 class QCheckBox;
 class QComboBox;
 
-class SalomeApp_SelectionMgr;
+class LightApp_SelectionMgr;
 class SVTK_Selector;
 
 class SMESHGUI;
@@ -68,7 +70,7 @@ namespace SMESH {
 // class    : SMESHGUI_ClippingDlg
 // purpose  :
 //=================================================================================
-class SMESHGUI_ClippingDlg : public QDialog
+class SMESHGUI_EXPORT SMESHGUI_ClippingDlg : public QDialog
 {
     Q_OBJECT
 
@@ -85,11 +87,13 @@ public:
     void   setRotation (const double theRot1, const double theRot2);
     void   Sinchronize();
 
+    void   keyPressEvent(QKeyEvent*);
+
     ~SMESHGUI_ClippingDlg();
 
 private:
 
-    SalomeApp_SelectionMgr* mySelectionMgr;
+    LightApp_SelectionMgr*  mySelectionMgr;
     SVTK_Selector*          mySelector;
     SMESHGUI*               mySMESHGUI;
     SMESH_Actor*            myActor;
@@ -111,8 +115,10 @@ private:
     QPushButton*      buttonOk;
     QPushButton*      buttonCancel;
     QPushButton*      buttonApply;
+    QPushButton*      buttonHelp;
 
     bool myIsSelectPlane;
+    QString myHelpFileName;
 
 public slots:
 
@@ -126,6 +132,7 @@ public slots:
     void ClickOnOk();
     void ClickOnCancel();
     void ClickOnApply();
+    void ClickOnHelp();
 };
 
 #endif // DIALOGBOX_TRANSPARENCYDLG_H