X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_FilterLibraryDlg.h;h=cbc8111de65c436992ef8f884e97d0b8235d8457;hb=af2e05780ad155306e29504b89d5623eb2c372fa;hp=88b52661c1da6222a647227d6d5f5e6daa252f3b;hpb=e4737e85f0da6d3f90fd08f6be1c2825195fe16f;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.h b/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.h index 88b52661c..cbc8111de 100644 --- a/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.h +++ b/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.h @@ -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 #include @@ -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& 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 myTypes; int myMode; @@ -149,6 +156,7 @@ private: QString myCurrFilterName; int myCurrFilter; + QString myHelpFileName; }; #endif