Salome HOME
Bug IPAL18040 - 4.x: color of the displayed edge group doesn't correspond to set...
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_CreatePatternDlg.h
index d0ff40e63bb6966b85d8e12d26d4bb2ce0fc12ec..130ad7e0d9342b46e8328fed92c757a33b4e03d1 100755 (executable)
@@ -15,7 +15,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
 //
 //
 //
@@ -27,6 +27,8 @@
 #ifndef SMESHGUI_CreatePatternDlg_H
 #define SMESHGUI_CreatePatternDlg_H
 
+#include "SMESH_SMESHGUI.hxx"
+
 #include <qdialog.h>
 
 // IDL Headers
@@ -43,7 +45,7 @@ class QFrame;
 class QLineEdit;
 class SMESHGUI_SpinBox;
 class QPushButton;
-class SalomeApp_SelectionMgr;
+class LightApp_SelectionMgr;
 class QRadioButton;
 class QCheckBox;
 class QButtonGroup;
@@ -57,7 +59,7 @@ class SMESHGUI;
  *  Description : Dialog to specify filters for VTK viewer
  */
 
-class SMESHGUI_CreatePatternDlg : public QDialog
+class SMESHGUI_EXPORT SMESHGUI_CreatePatternDlg : public QDialog
 {
   Q_OBJECT
 
@@ -84,12 +86,14 @@ private:
 
   void                     closeEvent (QCloseEvent* e);
   void                     enterEvent (QEvent*);
+   void                    keyPressEvent(QKeyEvent*);
 
 private slots:
 
   void                     onOk();
   void                     onSave();
   void                     onClose();
+  void                     onHelp();
 
   void                     onDeactivate();
 
@@ -116,6 +120,7 @@ private:
   QPushButton*             myOkBtn;
   QPushButton*             mySaveBtn;
   QPushButton*             myCloseBtn;
+  QPushButton*             myHelpBtn;
 
   QButtonGroup*            myTypeGrp;
   QRadioButton*            mySwitch2d;
@@ -130,9 +135,8 @@ private:
   QCheckBox*               myProjectChk;
 
   SMESHGUI*                mySMESHGUI;
-  SVTK_ViewWindow*         myViewWindow;
   SVTK_Selector*           mySelector;
-  SalomeApp_SelectionMgr*  mySelectionMgr;
+  LightApp_SelectionMgr*   mySelectionMgr;
   int                      myNbPoints;
   int                      myType;
 
@@ -142,6 +146,8 @@ private:
 
   SMESH::SMESH_Pattern_var myPattern;
   bool                     myIsLoaded;
+
+  QString                  myHelpFileName;
 };
 
 #endif