class QButtonGroup;
class QGroupBox;
class QListBox;
+class QPopupMenu;
class QPushButton;
+class QToolButton;
class QCheckBox;
class QWidgetStack;
class QtxIntSpinBox;
class SMESHGUI;
class SMESH_Actor;
class SMESHGUI_FilterDlg;
+class SMESHGUI_ShapeByMeshOp;
+class SUIT_Operation;
class SVTK_Selector;
class SVTK_ViewWindow;
void onNbColorsChanged(const QString& text);
void onFilterAccepted();
+ void onGeomPopup( int );
+ void onGeomSelectionButton( bool );
+
+ void onPublishShapeByMeshDlg(SUIT_Operation*);
+ void onCloseShapeByMeshDlg(SUIT_Operation*);
+
private:
void initDialog(bool create);
void init(SMESH::SMESH_Mesh_ptr theMesh);
void keyPressEvent(QKeyEvent*);
void setSelectionMode(int theMode);
void updateButtons();
+ void updateGeomPopup();
SMESHGUI* mySMESHGUI; /* Current SMESHGUI object */
LightApp_SelectionMgr* mySelectionMgr; /* User shape selection */
QtxIntSpinBox* myColorSpinBox;
QCheckBox* mySelectGeomGroup;
- QPushButton* myGeomGroupBtn;
+ QToolButton* myGeomGroupBtn;
QLineEdit* myGeomGroupLine;
+ QPopupMenu* myGeomPopup;
+
+ SMESHGUI_ShapeByMeshOp* myShapeByMeshOp;
SMESH::SMESH_Mesh_var myMesh;
SMESH::SMESH_Group_var myGroup;
SMESH::SMESH_GroupOnGeom_var myGroupOnGeom;
QValueList<int> myIdList;
- GEOM::GEOM_Object_var myGeomGroup;
+ GEOM::ListOfGO_var myGeomObjects;
int mySelectionMode;
//Handle(SMESH_TypeFilter) myMeshFilter;
SUIT_SelectionFilter* myMeshFilter;
SUIT_SelectionFilter* mySubMeshFilter;
SUIT_SelectionFilter* myGroupFilter;
+ SUIT_SelectionFilter* myGeomFilter;
SMESHGUI_FilterDlg* myFilterDlg;