Version: 8.3.0
SMESHGUI_FieldSelectorWdg Class Reference

Widget listing all fields available for export to MED file. More...

#include <SMESHGUI_FieldSelectorWdg.h>

Inheritance diagram for SMESHGUI_FieldSelectorWdg:

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
 
QTreeWidgetmyTree
 

Detailed Description

Widget listing all fields available for export to MED file.

Constructor & Destructor Documentation

SMESHGUI_FieldSelectorWdg::SMESHGUI_FieldSelectorWdg ( QWidget p = 0)

Constructor of SMESHGUI_FieldSelectorWdg.

References myTree, and onItemCheck().

Member Function Documentation

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 ( )

Filter off not selected fields from myFields.

References myFields, and myTree.

void SMESHGUI_FieldSelectorWdg::onItemCheck ( QTreeWidgetItem *  item,
int  column 
)
privateslot

SLOT called when a tree item is checked.

References myTree.

Referenced by SMESHGUI_FieldSelectorWdg().

Field Documentation

QList< QPair< GEOM::ListOfFields_var, QString > >* SMESHGUI_FieldSelectorWdg::myFields
private

Referenced by GetAllFeilds(), and GetSelectedFeilds().

QTreeWidget* SMESHGUI_FieldSelectorWdg::myTree
private