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
32 #include "SMESH_SMESHGUI.hxx"
42 class LightApp_SelectionMgr;
45 class SMESHGUI_EXPORT SMESHGUI_MeshInfosDlg : public QDialog
50 SMESHGUI_MeshInfosDlg( SMESHGUI* theModule,
54 ~SMESHGUI_MeshInfosDlg();
57 void closeEvent( QCloseEvent* e );
58 void keyPressEvent( QKeyEvent* e );
59 void windowActivationChange( bool oldActive );
63 void onSelectionChanged();
64 void DeactivateActiveDialog() ;
65 void ActivateThisDialog();
66 void onStartSelection();
71 LightApp_SelectionMgr* mySelectionMgr;
72 bool myStartSelection;
73 bool myIsActiveWindow;
75 QPushButton* mySelectBtn;
78 QWidgetStack* myWGStack;
80 QWidget* myMeshWidget;
82 QLabel* myMeshNbNodes;
83 QLabel* myMeshNbEdges;
84 QLabel* myMeshNbEdges1;
85 QLabel* myMeshNbEdges2;
86 QGroupBox* myMeshFacesGroup;
87 QLabel* myMeshNbFaces;
88 QLabel* myMeshNbFaces1;
89 QLabel* myMeshNbFaces2;
90 QLabel* myMeshNbTriangles;
91 QLabel* myMeshNbTriangles1;
92 QLabel* myMeshNbTriangles2;
93 QLabel* myMeshNbQuadrangles;
94 QLabel* myMeshNbQuadrangles1;
95 QLabel* myMeshNbQuadrangles2;
96 QLabel* myMeshNbPolygones;
97 QGroupBox* myMeshVolumesGroup;
98 QLabel* myMeshNbVolumes;
99 QLabel* myMeshNbVolumes1;
100 QLabel* myMeshNbVolumes2;
101 QLabel* myMeshNbTetra;
102 QLabel* myMeshNbTetra1;
103 QLabel* myMeshNbTetra2;
104 QLabel* myMeshNbHexa;
105 QLabel* myMeshNbHexa1;
106 QLabel* myMeshNbHexa2;
107 QLabel* myMeshNbPyra;
108 QLabel* myMeshNbPyra1;
109 QLabel* myMeshNbPyra2;
110 QLabel* myMeshNbPrism;
111 QLabel* myMeshNbPrism1;
112 QLabel* myMeshNbPrism2;
113 QLabel* myMeshNbPolyhedrones;
115 QWidget* mySubMeshWidget;
116 QLabel* mySubMeshName;
117 QLabel* mySubMeshNbNodes;
118 QGroupBox* mySubMeshElementsGroup;
119 QLabel* mySubMeshNbElements;
120 QLabel* mySubMeshNbEdges;
121 QLabel* mySubMeshNbFaces;
122 QLabel* mySubMeshNbVolumes;
124 QWidget* myGroupWidget;
129 QGroupBox* myButtonsGroup;
130 QPushButton* myOkBtn;
131 QPushButton* myHelpBtn;
133 QString myHelpFileName;
136 #endif // SMESHGUI_MESHINFOSDLG_H