X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_CreatePatternDlg.h;h=130ad7e0d9342b46e8328fed92c757a33b4e03d1;hb=68142715709f038b43641472afe50e2025c36e17;hp=d0ff40e63bb6966b85d8e12d26d4bb2ce0fc12ec;hpb=c38c10811a065cf5b13e8807ed71864d92ca7d80;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_CreatePatternDlg.h b/src/SMESHGUI/SMESHGUI_CreatePatternDlg.h index d0ff40e63..130ad7e0d 100755 --- a/src/SMESHGUI/SMESHGUI_CreatePatternDlg.h +++ b/src/SMESHGUI/SMESHGUI_CreatePatternDlg.h @@ -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 // 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