Corrected for 0020310.

This commit is contained in:
skl 2009-09-11 12:10:55 +00:00
parent 8ef6ac2097
commit 489c1e114f
2 changed files with 20 additions and 2 deletions

View File

@ -1664,7 +1664,7 @@ LightApp_Dialog* SMESHGUI_EvaluateOp::dlg() const
//================================================================================
/*!
* \brief evaluaateMesh()
* \brief evaluateMesh()
*/
//================================================================================

View File

@ -60,7 +60,14 @@ enum TCol {
// =========================================================================================
SMESHGUI_MeshInfosBox::SMESHGUI_MeshInfosBox(const bool full, QWidget* theParent)
: QGroupBox( tr("SMESH_MESHINFO_TITLE"), theParent ), myFull( full )
: QGroupBox( tr("SMESH_MESHINFO_TITLE"), theParent ), myFull( full ),
myNbNode(0), my0DElem(0), myNbEdge(0), myNbLinEdge(0), myNbQuadEdge(0),
myNbTrai(0), myNbLinTrai(0), myNbQuadTrai(0), myNbQuad(0), myNbLinQuad(0),
myNbQuadQuad(0), myNbFace(0), myNbLinFace(0), myNbQuadFace(0), myNbPolyg(0),
myNbHexa(0), myNbLinHexa(0), myNbQuadHexa(0), myNbTetra(0), myNbLinTetra(0),
myNbQuadTetra(0), myNbPyra(0), myNbLinPyra(0), myNbQuadPyra(0), myNbPrism(0),
myNbLinPrism(0), myNbQuadPrism(0), myNbVolum(0), myNbLinVolum(0), myNbQuadVolum(0),
myNbPolyh(0)
{
QGridLayout* l = new QGridLayout(this);
l->setMargin( MARGIN );
@ -277,6 +284,17 @@ SMESHGUI_MeshInfosBox::SMESHGUI_MeshInfosBox(const bool full, QWidget* theParent
myNbNode = new QLabel( this );
l->addWidget( myNbNode, row, 1 );
// 0D elements
row = l->rowCount(); // retrieve current row count
// --
lab = new QLabel(COLONIZE(tr("SMESH_MESHINFO_0DELEMS")), this );
l->addWidget( lab, row, 0 );
// --
my0DElem = new QLabel( this );
l->addWidget( my0DElem, row, 1 );
addSeparator(this); // add separator
// edges
row = l->rowCount(); // retrieve current row count
// --