Salome HOME
Fix for Bug NPAL16771 (EDF 556 SMESH : Can't select some groups of nodes in the VTK...
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_FilterLibraryDlg.h
index 88b52661c1da6222a647227d6d5f5e6daa252f3b..cbc8111de65c436992ef8f884e97d0b8235d8457 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 SMESHGUI_FilterLibraryDlg_H
 #define SMESHGUI_FilterLibraryDlg_H
 
+#include "SMESH_SMESHGUI.hxx"
+
 #include <qdialog.h>
 #include <SMESHGUI_FilterDlg.h>
 
@@ -48,12 +50,12 @@ class QGroupBox;
   Description : Dialog to specify filters for VTK viewer
 */
 
-class SMESHGUI_FilterLibraryDlg : public QDialog
+class SMESHGUI_EXPORT SMESHGUI_FilterLibraryDlg : public QDialog
 { 
   Q_OBJECT
   
   // Buttons
-  enum { BTN_OK, BTN_Cancel, BTN_Apply, BTN_Close };
+  enum { BTN_OK, BTN_Cancel, BTN_Apply, BTN_Close, BTN_Help };
 
   class Dialog;
   
@@ -64,12 +66,14 @@ public:
     
 public:
   
-                              SMESHGUI_FilterLibraryDlg( QWidget*               parent,
+                              SMESHGUI_FilterLibraryDlg( SMESHGUI*,
+                                                        QWidget*,
                                                          const QValueList<int>& types,
                                                          const int              mode,
                                                          const char*            name = 0 );
                                                 
-                              SMESHGUI_FilterLibraryDlg( QWidget*               parent,
+                              SMESHGUI_FilterLibraryDlg( SMESHGUI*,
+                                                        QWidget*,
                                                          const int              type,
                                                          const int              mode,
                                                          const char*            name = 0 );
@@ -86,12 +90,14 @@ private:
 
   void                        closeEvent( QCloseEvent* e ) ;
   void                        enterEvent ( QEvent * ) ;            
+  void                        keyPressEvent( QKeyEvent* e );
   
 private slots:
 
   void                        onOk();
   bool                        onApply();
   void                        onClose();
+  void                        onHelp();
 
   void                        onDeactivate();
   
@@ -141,6 +147,7 @@ private:
   QPushButton*                myDeleteBtn;
   QGroupBox*                  myNameGrp;
   QLineEdit*                  myName;
+  SMESHGUI*                   mySMESHGUI;
 
   QValueList<int>             myTypes;
   int                         myMode;
@@ -149,6 +156,7 @@ private:
   QString                     myCurrFilterName;
   int                         myCurrFilter;
 
+  QString                     myHelpFileName;
 };
 
 #endif