X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_Dialog.h;h=2508c28b93da47e6026a060f60d588addbe8c22a;hb=5958898517117318188b2af692852be9082977dc;hp=cfc69adb14fab0b030c966f9ae97d9660fbdb9f8;hpb=0d232fb7040d63d364bcea108c001deabe561225;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_Dialog.h b/src/SMESHGUI/SMESHGUI_Dialog.h index cfc69adb1..2508c28b9 100644 --- a/src/SMESHGUI/SMESHGUI_Dialog.h +++ b/src/SMESHGUI/SMESHGUI_Dialog.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 // // // @@ -30,7 +30,9 @@ #ifndef SMESHGUI_DIALOG_H #define SMESHGUI_DIALOG_H -#include +#include "SMESH_SMESHGUI.hxx" + +#include class SUIT_Desktop; class SUIT_ResourceMgr; @@ -39,18 +41,18 @@ class SUIT_ResourceMgr; // class : SMESHGUI_Dialog // purpose : Base dialog for all SMESHGUI dialogs //================================================================================= -class SMESHGUI_Dialog : public SalomeApp_Dialog +class SMESHGUI_EXPORT SMESHGUI_Dialog : public LightApp_Dialog { Q_OBJECT public: - SMESHGUI_Dialog( QWidget* = 0, const bool = false, const bool = false, const int = OK | Cancel | Apply ); + SMESHGUI_Dialog( QWidget* = 0, const bool = false, const bool = false, const int = OK | Close | Apply | Help ); virtual ~SMESHGUI_Dialog(); virtual void show(); //! set all content to enable (parameter is true) or disable state - virtual void setContentActive( const bool ) const; + virtual void setContentActive( const bool ); //! Return hard-coded prefix using to differ overlapping types static int prefix( const QString& );