X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_SmoothingDlg.h;h=c201dfffe434f397106e3e0120ca8bfdf150c3a9;hp=fc1fdb21599238548db50d1a95b86a9ece9d218b;hb=9d11375af40826e967ab2c3bcb77d1f9d439c90c;hpb=c38c10811a065cf5b13e8807ed71864d92ca7d80 diff --git a/src/SMESHGUI/SMESHGUI_SmoothingDlg.h b/src/SMESHGUI/SMESHGUI_SmoothingDlg.h index fc1fdb215..c201dfffe 100644 --- a/src/SMESHGUI/SMESHGUI_SmoothingDlg.h +++ b/src/SMESHGUI/SMESHGUI_SmoothingDlg.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_SMOOTHING_H #define DIALOGBOX_SMOOTHING_H -#include "SalomeApp_SelectionMgr.h" +#include "SMESH_SMESHGUI.hxx" + +#include "LightApp_SelectionMgr.h" #include "SMESH_LogicalFilter.hxx" @@ -62,7 +64,7 @@ class SVTK_Selector; // class : SMESHGUI_SmoothingDlg // purpose : //================================================================================= -class SMESHGUI_SmoothingDlg : public QDialog +class SMESHGUI_EXPORT SMESHGUI_SmoothingDlg : public QDialog { Q_OBJECT @@ -79,15 +81,15 @@ private: void closeEvent(QCloseEvent*); void enterEvent (QEvent*); /* mouse enter the QWidget */ void hideEvent (QHideEvent*); /* ESC key */ + void keyPressEvent(QKeyEvent*); SMESHGUI* mySMESHGUI; /* Current SMESHGUI object */ - SalomeApp_SelectionMgr* mySelectionMgr; /* User shape selection */ + LightApp_SelectionMgr* mySelectionMgr; /* User shape selection */ QString myElementsId; int myNbOkElements; /* to check when elements are defined */ int myNbOkNodes; /* to check when fixed nodes are defined */ int myConstructorId; /* Current constructor id = radio button id */ QLineEdit* myEditCurrentArgument; /* Current LineEdit */ - SVTK_ViewWindow* myViewWindow; SVTK_Selector* mySelector; bool myBusy; @@ -101,6 +103,7 @@ private: QPushButton* buttonOk; QPushButton* buttonCancel; QPushButton* buttonApply; + QPushButton* buttonHelp; QGroupBox* GroupArguments; QLabel* TextLabelElements; QPushButton* SelectElementsButton; @@ -116,6 +119,8 @@ private: QLabel* TextLabelAspectRatio; SMESHGUI_SpinBox* SpinBox_AspectRatio; QCheckBox * CheckBoxParametric; + + QString myHelpFileName; private slots: @@ -123,6 +128,7 @@ private slots: void ClickOnOk(); void ClickOnCancel(); void ClickOnApply(); + void ClickOnHelp(); void SetEditCurrentArgument() ; void SelectionIntoArgument() ; void DeactivateActiveDialog() ;