X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_CreatePolyhedralVolumeDlg.h;h=4cba1e9a02a5071a9580ca964644dc59ed1c7247;hp=8ba99e3ba0bf5bffca385c0dfdfc66c97c56f60e;hb=9d11375af40826e967ab2c3bcb77d1f9d439c90c;hpb=b33324fe602b1fe1158c14a866c3802df12370fa diff --git a/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.h b/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.h index 8ba99e3ba..4cba1e9a0 100644 --- a/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.h +++ b/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.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 DIALOGBOX_CREATEPOLYHEDRAL_H #define DIALOGBOX_CREATEPOLYHEDRAL_H +#include "SMESH_SMESHGUI.hxx" + // QT Includes #include @@ -45,7 +47,7 @@ class SMESHGUI; class SMESH_Actor; class SVTK_Selector; class SVTK_ViewWindow; -class SalomeApp_SelectionMgr; +class LightApp_SelectionMgr; namespace SMESH{ struct TPolySimulation; @@ -59,7 +61,7 @@ namespace SMESH{ // class : SMESHGUI_CreatePolyhedralVolumeDlg // purpose : //================================================================================= -class SMESHGUI_CreatePolyhedralVolumeDlg : public QDialog +class SMESHGUI_EXPORT SMESHGUI_CreatePolyhedralVolumeDlg : public QDialog { Q_OBJECT @@ -73,11 +75,14 @@ private: void closeEvent( QCloseEvent* e ) ; void enterEvent ( QEvent * ) ; /* mouse enter the QWidget */ void hideEvent ( QHideEvent * ); /* ESC key */ + void keyPressEvent( QKeyEvent* e ); int GetConstructorId(); void displaySimulation(); + int checkEditLine(bool checkLast=true); /*! Checking for indices, return 1 if all ok, esle -1*/ + SMESHGUI* mySMESHGUI ; /* Current SMESHGUI object */ - SalomeApp_SelectionMgr* mySelectionMgr ; /* User shape selection */ + LightApp_SelectionMgr* mySelectionMgr ; /* User shape selection */ SVTK_Selector* mySelector; QString myIDs; int myNbOkElements ; /* to check when elements are defined */ @@ -96,6 +101,7 @@ private: QPushButton* buttonOk; QPushButton* buttonCancel; QPushButton* buttonApply; + QPushButton* buttonHelp; QGroupBox* GroupContent; QLabel* TextLabelIds; QPushButton* SelectElementsButton; @@ -104,6 +110,8 @@ private: QLabel* myFacesByNodesLabel; QPushButton* AddButton; QPushButton* RemoveButton; + + QString myHelpFileName; public slots: @@ -117,6 +125,7 @@ private: void ClickOnOk(); void ClickOnCancel(); void ClickOnApply(); + void ClickOnHelp(); void SetEditCurrentArgument() ; void SelectionIntoArgument() ; void DeactivateActiveDialog() ;