00001 // Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE 00002 // 00003 // This library is free software; you can redistribute it and/or 00004 // modify it under the terms of the GNU Lesser General Public 00005 // License as published by the Free Software Foundation; either 00006 // version 2.1 of the License. 00007 // 00008 // This library is distributed in the hope that it will be useful, 00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 // Lesser General Public License for more details. 00012 // 00013 // You should have received a copy of the GNU Lesser General Public 00014 // License along with this library; if not, write to the Free Software 00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00016 // 00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com 00018 // 00019 00020 // File : SMESHGUI_MeshInfosBox.h 00021 // Author : Edward AGAPOV, Open CASCADE S.A.S. 00022 // 00023 #ifndef SMESHGUI_MeshInfosBox_H 00024 #define SMESHGUI_MeshInfosBox_H 00025 00026 // SMESH includes 00027 #include "SMESH_SMESHGUI.hxx" 00028 00029 // Qt includes 00030 #include <QGroupBox> 00031 00032 // IDL includes 00033 #include <SALOMEconfig.h> 00034 #include CORBA_SERVER_HEADER(SMESH_Mesh) 00035 00036 class QLabel; 00037 00042 class SMESHGUI_EXPORT SMESHGUI_MeshInfosBox : public QGroupBox 00043 { 00044 Q_OBJECT 00045 00046 public: 00047 SMESHGUI_MeshInfosBox( const bool, QWidget* ); 00048 00049 void SetMeshInfo( const SMESH::long_array& theInfo ); 00050 00051 private: 00052 bool myFull; 00053 QLabel* myNbNode; 00054 QLabel* my0DElem; 00055 QLabel* myNbEdge; 00056 QLabel* myNbLinEdge; 00057 QLabel* myNbQuadEdge; 00058 QLabel* myNbTrai; 00059 QLabel* myNbLinTrai; 00060 QLabel* myNbQuadTrai; 00061 QLabel* myNbQuad; 00062 QLabel* myNbLinQuad; 00063 QLabel* myNbQuadQuad; 00064 QLabel* myNbFace; 00065 QLabel* myNbLinFace; 00066 QLabel* myNbQuadFace; 00067 QLabel* myNbPolyg; 00068 QLabel* myNbHexa; 00069 QLabel* myNbLinHexa; 00070 QLabel* myNbQuadHexa; 00071 QLabel* myNbTetra; 00072 QLabel* myNbLinTetra; 00073 QLabel* myNbQuadTetra; 00074 QLabel* myNbPyra; 00075 QLabel* myNbLinPyra; 00076 QLabel* myNbQuadPyra; 00077 QLabel* myNbPrism; 00078 QLabel* myNbLinPrism; 00079 QLabel* myNbQuadPrism; 00080 QLabel* myNbVolum; 00081 QLabel* myNbLinVolum; 00082 QLabel* myNbQuadVolum; 00083 QLabel* myNbPolyh; 00084 }; 00085 00086 #endif // SMESHGUI_MeshInfosBox_H