The wigdet shows additional information on the mesh object. More...
#include <SMESHGUI_MeshInfo.h>
Public Member Functions | |
SMESHGUI_AddInfo (QWidget *=0) | |
Constructor. More... | |
~SMESHGUI_AddInfo () | |
Destructor. More... | |
void | showInfo (SMESH::SMESH_IDSource_ptr) |
Show additional information on the selected object. More... | |
void | saveInfo (QTextStream &out) |
Private Types | |
enum | { Bold = 0x01, All = 0x80 } |
Private Slots | |
void | changeLoadToCompute () |
Change button label of "nb underlying node" group from "Load" to "Compute". More... | |
void | showPreviousGroups () |
void | showNextGroups () |
void | showPreviousSubMeshes () |
void | showNextSubMeshes () |
Private Member Functions | |
QTreeWidgetItem * | createItem (QTreeWidgetItem *=0, int=0) |
Create new tree item. More... | |
void | meshInfo (SMESH::SMESH_Mesh_ptr, QTreeWidgetItem *) |
Show mesh info. More... | |
void | subMeshInfo (SMESH::SMESH_subMesh_ptr, QTreeWidgetItem *) |
Show sub-mesh info. More... | |
void | groupInfo (SMESH::SMESH_GroupBase_ptr, QTreeWidgetItem *) |
Show group info. More... | |
void | showGroups () |
void | showSubMeshes () |
Private Attributes | |
QList< GrpComputor * > | myComputors |
SMESH::ListOfGroups_var | myGroups |
SMESH::submesh_array_var | mySubMeshes |
The wigdet shows additional information on the mesh object.
SMESHGUI_AddInfo::SMESHGUI_AddInfo | ( | QWidget * | parent = 0 | ) |
Constructor.
parent | parent widget |
SMESHGUI_AddInfo::~SMESHGUI_AddInfo | ( | ) |
Destructor.
|
privateslot |
Change button label of "nb underlying node" group from "Load" to "Compute".
References myComputors.
Referenced by groupInfo().
|
private |
Create new tree item.
parent | parent tree widget item |
flags | item flag |
Referenced by groupInfo(), meshInfo(), showGroups(), showInfo(), showSubMeshes(), and subMeshInfo().
|
private |
Show group info.
grp | mesh group object |
parent | parent tree item |
References _PTR(), SMESH::BALL, Bold, changeLoadToCompute(), createItem(), SMESH::EDGE, SMESH::ELEM0D, SMESH::FACE, myComputors, SMESH::NODE, SMESHGUI::resourceMgr(), SObject(), and SMESH::VOLUME.
Referenced by showGroups(), and showInfo().
|
private |
Show mesh info.
mesh | mesh object |
parent | parent tree item |
References _PTR(), Bold, createItem(), myGroups, mySubMeshes, showGroups(), showSubMeshes(), and SObject().
Referenced by showInfo().
void SMESHGUI_AddInfo::saveInfo | ( | QTextStream & | out | ) |
References itemDepth().
Referenced by SMESHGUI_MeshInfoDlg::dump().
|
private |
References _PTR(), All, Bold, createItem(), groupInfo(), myComputors, myGroups, ExtraWidget::next, ExtraWidget::prev, showNextGroups(), showPreviousGroups(), SObject(), and ExtraWidget::updateControls().
Referenced by meshInfo(), showNextGroups(), and showPreviousGroups().
void SMESHGUI_AddInfo::showInfo | ( | SMESH::SMESH_IDSource_ptr | obj | ) |
Show additional information on the selected object.
obj | object being processed (mesh, sub-mesh, group, ID source) |
References _PTR(), All, Bold, createItem(), groupInfo(), meshInfo(), myComputors, SObject(), and subMeshInfo().
Referenced by SMESHGUI_MeshInfoDlg::showInfo().
|
privateslot |
References showGroups().
Referenced by showGroups().
|
privateslot |
References showSubMeshes().
Referenced by showSubMeshes().
|
privateslot |
References showGroups().
Referenced by showGroups().
|
privateslot |
References showSubMeshes().
Referenced by showSubMeshes().
|
private |
References _PTR(), All, Bold, createItem(), mySubMeshes, ExtraWidget::next, ExtraWidget::prev, showNextSubMeshes(), showPreviousSubMeshes(), SObject(), subMeshInfo(), and ExtraWidget::updateControls().
Referenced by meshInfo(), showNextSubMeshes(), and showPreviousSubMeshes().
|
private |
Show sub-mesh info.
subMesh | sub-mesh object |
parent | parent tree item |
References _PTR(), Bold, createItem(), and SObject().
Referenced by showInfo(), and showSubMeshes().
|
private |
Referenced by changeLoadToCompute(), groupInfo(), showGroups(), and showInfo().
|
private |
Referenced by meshInfo(), and showGroups().
|
private |
Referenced by meshInfo(), and showSubMeshes().