X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_AddMeshElementDlg.h;h=3f4722315e81fe2beebadc52e9f389825521b665;hb=07ec002dfd20ec187228e11533e8e2135eca08fd;hp=a04635c304ea6bd48587bea02d0d3ac9032cb487;hpb=c38c10811a065cf5b13e8807ed71864d92ca7d80;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.h b/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.h index a04635c30..3f4722315 100644 --- a/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.h +++ b/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.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,7 +29,9 @@ #ifndef DIALOGBOX_ADD_FACE_H #define DIALOGBOX_ADD_FACE_H -#include "SalomeApp_SelectionMgr.h" +#include "SMESH_SMESHGUI.hxx" + +#include "LightApp_SelectionMgr.h" #include "SMDSAbs_ElementType.hxx" @@ -66,7 +68,7 @@ namespace SMESH{ // class : SMESHGUI_AddMeshElementDlg // purpose : //================================================================================= -class SMESHGUI_AddMeshElementDlg : public QDialog +class SMESHGUI_EXPORT SMESHGUI_AddMeshElementDlg : public QDialog { Q_OBJECT @@ -82,13 +84,13 @@ private: void closeEvent (QCloseEvent*); void hideEvent (QHideEvent*); /* ESC key */ void enterEvent (QEvent*); /* mouse enter the QWidget */ + void keyPressEvent(QKeyEvent*); void displaySimulation(); SMESHGUI* mySMESHGUI; /* Current SMESHGUI object */ - SalomeApp_SelectionMgr* mySelectionMgr; /* User shape selection */ + LightApp_SelectionMgr* mySelectionMgr; /* User shape selection */ int myNbOkNodes; /* to check when arguments is defined */ bool myBusy; - SVTK_ViewWindow* myViewWindow; SVTK_Selector* mySelector; QLineEdit* myEditCurrentArgument; /* Current LineEdit */ @@ -107,6 +109,7 @@ private: QPushButton * buttonOk; QPushButton * buttonCancel; QPushButton * buttonApply; + QPushButton * buttonHelp; QGroupBox * GroupC1; QLabel * TextLabelC1A1; QPushButton * SelectButtonC1A1; @@ -114,11 +117,14 @@ private: QCheckBox * Reverse; + QString myHelpFileName; + private slots: void ClickOnOk(); void ClickOnCancel(); void ClickOnApply(); + void ClickOnHelp(); void SetEditCurrentArgument() ; void SelectionIntoArgument() ; void DeactivateActiveDialog() ;