Salome HOME
new method setContentActive( bool ): if parameter is true, all content to enable...
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_Dialog.h
1
2 #ifndef SMESHGUI_DIALOG_H
3 #define SMESHGUI_DIALOG_H
4
5 #include <SalomeApp_Dialog.h>
6
7 class SMESHGUI;
8
9 class SMESHGUI_Dialog : public SalomeApp_Dialog
10 {
11   Q_OBJECT
12   
13 public:
14   SMESHGUI_Dialog( SMESHGUI*, const bool = false, const bool = false, const int = OK | Cancel | Apply );
15   virtual ~SMESHGUI_Dialog();
16
17   virtual void show();
18
19   //! set all content to enable (parameter is true) or disable state
20   void setContentActive( const bool ) const;
21
22 private:
23   SMESHGUI* mySMESHGUI;
24 };
25
26 #endif