1 // SMESH SMESHGUI : GUI for SMESH component
3 // Copyright (C) 2003 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 // File : SMESHGUI_MeshInfosDlg.h
23 // 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* myMeshNbEdges;
79 QLabel* myMeshNbEdges1;
80 QLabel* myMeshNbEdges2;
81 QGroupBox* myMeshFacesGroup;
82 QLabel* myMeshNbFaces;
83 QLabel* myMeshNbFaces1;
84 QLabel* myMeshNbFaces2;
85 QLabel* myMeshNbTriangles;
86 QLabel* myMeshNbTriangles1;
87 QLabel* myMeshNbTriangles2;
88 QLabel* myMeshNbQuadrangles;
89 QLabel* myMeshNbQuadrangles1;
90 QLabel* myMeshNbQuadrangles2;
91 QLabel* myMeshNbPolygones;
92 QGroupBox* myMeshVolumesGroup;
93 QLabel* myMeshNbVolumes;
94 QLabel* myMeshNbVolumes1;
95 QLabel* myMeshNbVolumes2;
96 QLabel* myMeshNbTetra;
97 QLabel* myMeshNbTetra1;
98 QLabel* myMeshNbTetra2;
100 QLabel* myMeshNbHexa1;
101 QLabel* myMeshNbHexa2;
102 QLabel* myMeshNbPyra;
103 QLabel* myMeshNbPyra1;
104 QLabel* myMeshNbPyra2;
105 QLabel* myMeshNbPrism;
106 QLabel* myMeshNbPrism1;
107 QLabel* myMeshNbPrism2;
108 QLabel* myMeshNbPolyhedrones;
110 QWidget* mySubMeshWidget;
111 QLabel* mySubMeshName;
112 QLabel* mySubMeshNbNodes;
113 QGroupBox* mySubMeshElementsGroup;
114 QLabel* mySubMeshNbElements;
115 QLabel* mySubMeshNbEdges;
116 QLabel* mySubMeshNbFaces;
117 QLabel* mySubMeshNbVolumes;
119 QWidget* myGroupWidget;
124 QGroupBox* myButtonsGroup;
125 QPushButton* myOkBtn;
126 QPushButton* myHelpBtn;
128 QString myHelpFileName;
131 #endif // SMESHGUI_MESHINFOSDLG_H