Salome HOME
Edit Mesh/Sub-Mesh window has strange "half-active" view, if do Compute.
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_Dialog.h
index cfc69adb14fab0b030c966f9ae97d9660fbdb9f8..2508c28b93da47e6026a060f60d588addbe8c22a 100644 (file)
@@ -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 <SalomeApp_Dialog.h>
+#include "SMESH_SMESHGUI.hxx"
+
+#include <LightApp_Dialog.h>
 
 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& );