Version: 8.3.0
SMESHGUI_MeshInfosBox.h
Go to the documentation of this file.
1 // Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 
20 // File : SMESHGUI_MeshInfosBox.h
21 // Author : Edward AGAPOV, Open CASCADE S.A.S.
22 //
23 #ifndef SMESHGUI_MeshInfosBox_H
24 #define SMESHGUI_MeshInfosBox_H
25 
26 // SMESH includes
27 #include "SMESH_SMESHGUI.hxx"
28 
29 // Qt includes
30 #include <QGroupBox>
31 
32 // IDL includes
33 #include <SALOMEconfig.h>
34 #include CORBA_SERVER_HEADER(SMESH_Mesh)
35 
36 class QLabel;
37 
43 {
44  Q_OBJECT
45 
46 public:
47  SMESHGUI_MeshInfosBox( const bool, QWidget* );
48 
49  void SetMeshInfo( const SMESH::long_array& theInfo );
50 
51 private:
52  bool myFull;
53  QLabel* myNbNode;
54  QLabel* my0DElem;
55  QLabel* myBall;
56  QLabel* myNbEdge;
57  QLabel* myNbLinEdge;
58  QLabel* myNbQuadEdge;
59  QLabel* myNbTrai;
60  QLabel* myNbLinTrai;
61  QLabel* myNbQuadTrai;
62  QLabel* myNbBiQuadTrai;
63  QLabel* myNbQuad;
64  QLabel* myNbLinQuad;
65  QLabel* myNbQuadQuad;
66  QLabel* myNbBiQuadQuad;
67  QLabel* myNbFace;
68  QLabel* myNbLinFace;
69  QLabel* myNbQuadFace;
70  QLabel* myNbBiQuadFace;
71  QLabel* myNbPolyg;
72  QLabel* myNbLinPolyg;
73  QLabel* myNbQuadPolyg;
74  QLabel* myNbHexa;
75  QLabel* myNbLinHexa;
76  QLabel* myNbQuadHexa;
77  QLabel* myNbBiQuadHexa;
78  QLabel* myNbTetra;
79  QLabel* myNbLinTetra;
80  QLabel* myNbQuadTetra;
81  QLabel* myNbPyra;
82  QLabel* myNbLinPyra;
83  QLabel* myNbQuadPyra;
84  QLabel* myNbPrism;
85  QLabel* myNbLinPrism;
86  QLabel* myNbQuadPrism;
87  QLabel* myNbVolum;
88  QLabel* myNbLinVolum;
89  QLabel* myNbQuadVolum;
90  QLabel* myNbBiQuadVolum;
91  QLabel* myNbHexaPrism;
92  QLabel* myNbPolyh;
93 };
94 
95 #endif // SMESHGUI_MeshInfosBox_H