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
24 // File : SMESHGUI_MeshInfosDlg.h
25 // Author : Nicolas BARBEROU
29 #ifndef SMESHGUI_MESHINFOSDLG_H
30 #define SMESHGUI_MESHINFOSDLG_H
40 class LightApp_SelectionMgr;
43 class SMESHGUI_MeshInfosDlg : public QDialog
48 SMESHGUI_MeshInfosDlg( SMESHGUI* theModule,
52 ~SMESHGUI_MeshInfosDlg();
55 void closeEvent( QCloseEvent* e );
56 void keyPressEvent( QKeyEvent* e );
57 void windowActivationChange( bool oldActive );
61 void onSelectionChanged();
62 void DeactivateActiveDialog() ;
63 void ActivateThisDialog();
64 void onStartSelection();
69 LightApp_SelectionMgr* mySelectionMgr;
70 bool myStartSelection;
71 bool myIsActiveWindow;
73 QPushButton* mySelectBtn;
76 QWidgetStack* myWGStack;
78 QWidget* myMeshWidget;
80 QLabel* myMeshNbNodes;
81 QLabel* myMeshNbEdges;
82 QLabel* myMeshNbEdges1;
83 QLabel* myMeshNbEdges2;
84 QGroupBox* myMeshFacesGroup;
85 QLabel* myMeshNbFaces;
86 QLabel* myMeshNbFaces1;
87 QLabel* myMeshNbFaces2;
88 QLabel* myMeshNbTriangles;
89 QLabel* myMeshNbTriangles1;
90 QLabel* myMeshNbTriangles2;
91 QLabel* myMeshNbQuadrangles;
92 QLabel* myMeshNbQuadrangles1;
93 QLabel* myMeshNbQuadrangles2;
94 QLabel* myMeshNbPolygones;
95 QGroupBox* myMeshVolumesGroup;
96 QLabel* myMeshNbVolumes;
97 QLabel* myMeshNbVolumes1;
98 QLabel* myMeshNbVolumes2;
99 QLabel* myMeshNbTetra;
100 QLabel* myMeshNbTetra1;
101 QLabel* myMeshNbTetra2;
102 QLabel* myMeshNbHexa;
103 QLabel* myMeshNbHexa1;
104 QLabel* myMeshNbHexa2;
105 QLabel* myMeshNbPyra;
106 QLabel* myMeshNbPyra1;
107 QLabel* myMeshNbPyra2;
108 QLabel* myMeshNbPrism;
109 QLabel* myMeshNbPrism1;
110 QLabel* myMeshNbPrism2;
111 QLabel* myMeshNbPolyhedrones;
113 QWidget* mySubMeshWidget;
114 QLabel* mySubMeshName;
115 QLabel* mySubMeshNbNodes;
116 QGroupBox* mySubMeshElementsGroup;
117 QLabel* mySubMeshNbElements;
118 QLabel* mySubMeshNbEdges;
119 QLabel* mySubMeshNbFaces;
120 QLabel* mySubMeshNbVolumes;
122 QWidget* myGroupWidget;
127 QGroupBox* myButtonsGroup;
128 QPushButton* myOkBtn;
129 QPushButton* myHelpBtn;
131 QString myHelpFileName;
134 #endif // SMESHGUI_MESHINFOSDLG_H