Salome HOME
23627: [IMACS] ASERIS: project point to the mesh and create a slot
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_BuildCompoundDlg.h
index f54e59eda895f5cdb0ac4ade958cdbd1fff73415..b401d2caa01bedd7b8c63a1575965ee339498970 100644 (file)
 #include CORBA_SERVER_HEADER(SMESH_Gen)
 #include CORBA_SERVER_HEADER(SMESH_Mesh)
 
+class LightApp_SelectionMgr;
+class QButtonGroup;
+class QCheckBox;
+class QComboBox;
 class QGroupBox;
 class QLabel;
 class QLineEdit;
 class QPushButton;
 class QRadioButton;
-class QCheckBox;
-class QComboBox;
 class SMESHGUI;
 class SMESHGUI_SpinBox;
-class LightApp_SelectionMgr;
 class SUIT_SelectionFilter;
 
 //=================================================================================
@@ -80,9 +81,10 @@ private:
   SMESHGUI*               mySMESHGUI;     /* Current SMESHGUI object */
   LightApp_SelectionMgr*  mySelectionMgr; /* User shape selection */
 
-  SMESH::SMESH_IDSource_var  myMesh;
-  SUIT_SelectionFilter*      myMeshFilter;
+  SMESH::SMESH_Mesh_var      myMeshToAppendTo;
   SMESH::ListOfIDSources_var myMeshArray;
+  SUIT_SelectionFilter*      myMeshFilter;
+  SUIT_SelectionFilter*      myAppendToFilter;
 
   // Widgets
   QGroupBox*              GroupConstructors;
@@ -94,9 +96,11 @@ private:
   QPushButton*            buttonApply;
   QPushButton*            buttonHelp;
 
-  QGroupBox*              GroupName;
-  QLabel*                 TextLabelName;
-  QLineEdit*              LineEditName;
+  QGroupBox*              GroupResult;
+  QButtonGroup*           ResultButtonGroup;
+  QLineEdit*              LineEditNewName;
+  QPushButton*            SelectButtonAppendTo;
+  QLineEdit*              LineEditAppendTo;
 
   QGroupBox*              GroupArgs;
   QLabel*                 TextLabelMeshes;
@@ -109,6 +113,8 @@ private:
   QLabel*                 TextLabelTol;
   SMESHGUI_SpinBox*       SpinBoxTol;
 
+  QLineEdit*              CurrentLineEdit;
+
   QString                 myHelpFileName;
 
   bool                    myIsApplyAndClose;
@@ -124,6 +130,8 @@ private slots:
   void                    DeactivateActiveDialog();
   void                    ActivateThisDialog();
   void                    onSelectMerge( bool );
+  void                    onResultTypeChange( int );
+  void                    onSelectionButton();
 };
 
 #endif // SMESHGUI_BUILDCOMPOUNDDLG_H