1 // Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 // SMESH SMESHGUI : GUI for SMESH component
23 // File : SMESHGUI_MeshInfosDlg.h
24 // Author : Nicolas BARBEROU
26 #ifndef SMESHGUI_MESHINFOSDLG_H
27 #define SMESHGUI_MESHINFOSDLG_H
30 #include "SMESH_SMESHGUI.hxx"
40 class LightApp_SelectionMgr;
43 class SMESHGUI_EXPORT SMESHGUI_MeshInfosDlg : public QDialog
48 SMESHGUI_MeshInfosDlg( SMESHGUI* );
49 ~SMESHGUI_MeshInfosDlg();
52 void closeEvent( QCloseEvent* );
53 void keyPressEvent( QKeyEvent* );
54 void windowActivationChange( bool );
58 void onSelectionChanged();
59 void DeactivateActiveDialog();
60 void ActivateThisDialog();
61 void onStartSelection();
66 LightApp_SelectionMgr* mySelectionMgr;
67 bool myStartSelection;
68 bool myIsActiveWindow;
70 QPushButton* mySelectBtn;
73 QStackedWidget* myWGStack;
75 QWidget* myMeshWidget;
77 QLabel* myMeshNbNodes;
78 QLabel* myMeshNb0DElems;
79 QLabel* myMeshNbEdges;
80 QLabel* myMeshNbEdges1;
81 QLabel* myMeshNbEdges2;
82 QGroupBox* myMeshFacesGroup;
83 QLabel* myMeshNbFaces;
84 QLabel* myMeshNbFaces1;
85 QLabel* myMeshNbFaces2;
86 QLabel* myMeshNbTriangles;
87 QLabel* myMeshNbTriangles1;
88 QLabel* myMeshNbTriangles2;
89 QLabel* myMeshNbQuadrangles;
90 QLabel* myMeshNbQuadrangles1;
91 QLabel* myMeshNbQuadrangles2;
92 QLabel* myMeshNbPolygones;
93 QGroupBox* myMeshVolumesGroup;
94 QLabel* myMeshNbVolumes;
95 QLabel* myMeshNbVolumes1;
96 QLabel* myMeshNbVolumes2;
97 QLabel* myMeshNbTetra;
98 QLabel* myMeshNbTetra1;
99 QLabel* myMeshNbTetra2;
100 QLabel* myMeshNbHexa;
101 QLabel* myMeshNbHexa1;
102 QLabel* myMeshNbHexa2;
103 QLabel* myMeshNbPyra;
104 QLabel* myMeshNbPyra1;
105 QLabel* myMeshNbPyra2;
106 QLabel* myMeshNbPrism;
107 QLabel* myMeshNbPrism1;
108 QLabel* myMeshNbPrism2;
109 QLabel* myMeshNbPolyhedrones;
111 QWidget* mySubMeshWidget;
112 QLabel* mySubMeshName;
113 QLabel* mySubMeshNbNodes;
114 QGroupBox* mySubMeshElementsGroup;
115 QLabel* mySubMeshNbElements;
116 QLabel* mySubMeshNb0DElems;
117 QLabel* mySubMeshNbEdges;
118 QLabel* mySubMeshNbFaces;
119 QLabel* mySubMeshNbVolumes;
121 QWidget* myGroupWidget;
126 QGroupBox* myButtonsGroup;
127 QPushButton* myOkBtn;
128 QPushButton* myHelpBtn;
130 QString myHelpFileName;
133 #endif // SMESHGUI_MESHINFOSDLG_H