23 #ifndef STDMESHERSGUI_SUBSHAPESELECTORWDG_H
24 #define STDMESHERSGUI_SUBSHAPESELECTORWDG_H
33 #include <QStringList>
34 #include <TopoDS_Shape.hxx>
39 class LightApp_SelectionMgr;
54 TopAbs_ShapeEnum subShType = TopAbs_EDGE,
55 const bool toShowList =
true,
56 const bool toShowSelectBtn =
false,
57 const int minListWidth=300);
60 SMESH::long_array_var GetListOfIDs();
61 bool SetListOfIDs( SMESH::long_array_var );
64 void SetGeomShapeEntry(
const QString& theEntry,
65 const QString& theMainShapeEntry);
66 const char* GetMainShapeEntry();
71 static GEOM::GEOM_Object_var GetGeomObjectByEntry(
const QString& );
72 static TopoDS_Shape GetTopoDSByEntry(
const QString& );
74 QString
GetValue()
const {
return myParamValue; }
76 void ShowPreview(
bool );
90 void ActivateSelection(
bool );
107 void updateButtons();
114 void selectionIntoArgument();
115 void onListSelectionChanged();
#define STDMESHERSGUI_EXPORT
Definition: SMESH_StdMeshersGUI.hxx:36
Definition: SMESHGUI.h:84
Definition: SMESH_PreviewActorsCollection.h:41
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:49
void deactivateSelection()
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:91
QList< int > mySelectedIDs
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:138
QString GetValue() const
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:74
int GetListSize()
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:78
SMESH_PreviewActorsCollection * GetActorCollection()
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:83
QString myParamValue
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:141
QLabel * myInfoLabel
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:135
QPushButton * myPrevButton
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:136
SMESHGUI * mySMESHGUI
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:121
QPushButton * myAddButton
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:133
bool myIsShown
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:142
int myMaxSize
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:145
TopoDS_Shape myGeomShape
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:125
QPushButton * myActivateButton
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:132
vtkRenderer * myRenderer
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:129
const QList< int > & GetSelectedIDs() const
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:62
LightApp_SelectionMgr * mySelectionMgr
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:122
void SetMaxSize(int aMaxSize)
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:80
QList< SUIT_SelectionFilter * > myGeomFilters
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:150
QList< int > myListOfIDs
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:139
SMESH_PreviewActorsCollection * myPreviewActor
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:149
void selectionActivated()
Emitted when selection is activated.
TopoDS_Shape GetGeomShape()
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:68
SMESH::SMESH_Mesh_var myMesh
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:124
QPushButton * myNextButton
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:137
QListWidget * myListWidget
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:131
SUIT_SelectionFilter * myFilter
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:151
std::string myMainEntry
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:128
TopoDS_Shape GetMainShape()
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:69
TopAbs_ShapeEnum mySubShType
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:147
TopoDS_Shape myMainShape
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:126
std::string myEntry
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:127
vtkRenderer * GetRenderer()
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:82
SVTK_Selector * mySelector
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:123
QPushButton * myRemoveButton
Definition: StdMeshersGUI_SubShapeSelectorWdg.h:134