Widget listing all fields available for export to MED file. More...
#include <SMESHGUI_FieldSelectorWdg.h>
Public Member Functions | |
SMESHGUI_FieldSelectorWdg (QWidget *=0) | |
Constructor of SMESHGUI_FieldSelectorWdg. More... | |
bool | GetAllFeilds (const QList< QPair< SMESH::SMESH_IDSource_var, QString > > &meshes, QList< QPair< GEOM::ListOfFields_var, QString > > &fields) |
Retrieves all fields defined on geometry of given meshes. More... | |
bool | GetSelectedFeilds () |
Filter off not selected fields from myFields. More... | |
Private Slots | |
void | onItemCheck (QTreeWidgetItem *item, int column) |
SLOT called when a tree item is checked. More... | |
Private Attributes | |
QList< QPair < GEOM::ListOfFields_var, QString > > * | myFields |
QTreeWidget * | myTree |
Widget listing all fields available for export to MED file.
SMESHGUI_FieldSelectorWdg::SMESHGUI_FieldSelectorWdg | ( | QWidget * | p = 0 | ) |
Constructor of SMESHGUI_FieldSelectorWdg.
References myTree, and onItemCheck().
bool SMESHGUI_FieldSelectorWdg::GetAllFeilds | ( | const QList< QPair< SMESH::SMESH_IDSource_var, QString > > & | meshes, |
QList< QPair< GEOM::ListOfFields_var, QString > > & | fields | ||
) |
Retrieves all fields defined on geometry of given meshes.
References _PTR(), SMESH::EDGE, SMESH::FACE, SMESH::GetGEOMGen(), myFields, myTree, SMESH::NODE, second, and SMESH::VOLUME.
bool SMESHGUI_FieldSelectorWdg::GetSelectedFeilds | ( | ) |
|
privateslot |
SLOT called when a tree item is checked.
References myTree.
Referenced by SMESHGUI_FieldSelectorWdg().
|
private |
Referenced by GetAllFeilds(), and GetSelectedFeilds().
|
private |
Referenced by GetAllFeilds(), GetSelectedFeilds(), onItemCheck(), and SMESHGUI_FieldSelectorWdg().