// 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
//
//
//
#ifndef DIALOGBOX_ADD_FACE_H
#define DIALOGBOX_ADD_FACE_H
-#include "SALOME_Selection.h"
+#include "LightApp_SelectionMgr.h"
#include "SMDSAbs_ElementType.hxx"
class SMESHGUI;
class SMESH_Actor;
class SMDS_Mesh;
+class SVTK_ViewWindow;
+class SVTK_Selector;
namespace SMESH{
struct TElementSimulation;
Q_OBJECT
public:
- SMESHGUI_AddMeshElementDlg( QWidget* parent = 0, const char* name = 0,
- SALOME_Selection* Sel = 0,
+ SMESHGUI_AddMeshElementDlg( SMESHGUI*,
+ const char* = 0,
SMDSAbs_ElementType ElementType = SMDSAbs_Edge,
int nbNodes = 2, bool modal = FALSE, WFlags fl = 0 );
~SMESHGUI_AddMeshElementDlg();
private:
-
- void Init( SALOME_Selection* Sel ) ;
- void closeEvent( QCloseEvent* e ) ;
- void hideEvent ( QHideEvent * ); /* ESC key */
- void enterEvent ( QEvent * ) ; /* mouse enter the QWidget */
+ void Init ();
+ void closeEvent (QCloseEvent*);
+ void hideEvent (QHideEvent*); /* ESC key */
+ void enterEvent (QEvent*); /* mouse enter the QWidget */
+ void keyPressEvent(QKeyEvent*);
void displaySimulation();
- SMESHGUI* mySMESHGUI ; /* Current SMESHGUI object */
- SALOME_Selection* mySelection ; /* User shape selection */
- bool myOkNodes ; /* to check when arguments is defined */
- bool myBusy;
+ SMESHGUI* mySMESHGUI; /* Current SMESHGUI object */
+ LightApp_SelectionMgr* mySelectionMgr; /* User shape selection */
+ int myNbOkNodes; /* to check when arguments is defined */
+ bool myBusy;
+ SVTK_Selector* mySelector;
- QLineEdit* myEditCurrentArgument; /* Current LineEdit */
+ QLineEdit* myEditCurrentArgument; /* Current LineEdit */
- int myElementType ;
- int myNbNodes;
+ int myElementType;
+ int myNbNodes;
+ bool myIsPoly;
- SMESH::SMESH_Mesh_var myMesh;
- SMESH_Actor* myActor;
- SMESH::TElementSimulation* mySimulation;
+ SMESH::SMESH_Mesh_var myMesh;
+ SMESH_Actor* myActor;
+ SMESH::TElementSimulation* mySimulation;
QButtonGroup* GroupConstructors;
QRadioButton* Constructor1;
QPushButton * buttonOk;
QPushButton * buttonCancel;
QPushButton * buttonApply;
+ QPushButton * buttonHelp;
QGroupBox * GroupC1;
QLabel * TextLabelC1A1;
QPushButton * SelectButtonC1A1;
QCheckBox * Reverse;
+ QString myHelpFileName;
+
private slots:
void ClickOnOk();
void ClickOnCancel();
void ClickOnApply();
+ void ClickOnHelp();
void SetEditCurrentArgument() ;
void SelectionIntoArgument() ;
void DeactivateActiveDialog() ;