smesh/src/SMESHGUI/SMESHGUI_MeshInfosDlg.h

104 lines
2.9 KiB
C
Raw Normal View History

2003-07-10 19:18:22 +06:00
// SMESH SMESHGUI : GUI for SMESH component
//
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
//
//
//
// File : SMESHGUI_MeshInfosDlg.h
// Author : Nicolas BARBEROU
// Module : SMESH
2003-05-19 20:07:00 +06:00
// $Header$
#ifndef SMESHGUI_MESHINFOSDLG_H
#define SMESHGUI_MESHINFOSDLG_H
// QT Includes
#include <qdialog.h>
2004-06-18 14:34:31 +06:00
2003-05-19 20:07:00 +06:00
class QGroupBox;
class QLabel;
class QPushButton;
2004-06-18 14:34:31 +06:00
class SALOME_Selection;
class QWidgetStack;
2003-05-19 20:07:00 +06:00
class SMESHGUI_MeshInfosDlg : public QDialog
{
Q_OBJECT
public:
2004-06-18 14:34:31 +06:00
SMESHGUI_MeshInfosDlg( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
2003-05-19 20:07:00 +06:00
~SMESHGUI_MeshInfosDlg();
2004-06-18 14:34:31 +06:00
protected:
void closeEvent( QCloseEvent* e );
void windowActivationChange( bool oldActive );
2003-05-19 20:07:00 +06:00
void DumpMeshInfos();
2004-06-18 14:34:31 +06:00
private slots:
void onSelectionChanged();
void DeactivateActiveDialog() ;
void ActivateThisDialog();
void onStartSelection();
2003-05-19 20:07:00 +06:00
2004-06-18 14:34:31 +06:00
private:
SALOME_Selection* mySelection;
bool myStartSelection;
bool myIsActiveWindow;
QPushButton* mySelectBtn;
QLabel* mySelectLab;
2003-05-19 20:07:00 +06:00
2004-06-18 14:34:31 +06:00
QWidgetStack* myWGStack;
2003-05-19 20:07:00 +06:00
2004-06-18 14:34:31 +06:00
QWidget* myMeshWidget;
QLabel* myMeshName;
QLabel* myMeshNbNodes;
QLabel* myMeshNbEdges;
QGroupBox* myMeshFacesGroup;
QLabel* myMeshNbFaces;
QLabel* myMeshNbTriangles;
QLabel* myMeshNbQuadrangles;
QGroupBox* myMeshVolumesGroup;
QLabel* myMeshNbVolumes;
QLabel* myMeshNbTetra;
QLabel* myMeshNbHexa;
QLabel* myMeshNbPyra;
QLabel* myMeshNbPrism;
QWidget* mySubMeshWidget;
QLabel* mySubMeshName;
QLabel* mySubMeshNbNodes;
QGroupBox* mySubMeshElementsGroup;
QLabel* mySubMeshNbElements;
QLabel* mySubMeshNbEdges;
QLabel* mySubMeshNbFaces;
QLabel* mySubMeshNbVolumes;
2003-05-19 20:07:00 +06:00
2004-06-18 14:34:31 +06:00
QWidget* myGroupWidget;
QLabel* myGroupName;
QLabel* myGroupType;
QLabel* myGroupNb;
2003-05-19 20:07:00 +06:00
2004-06-18 14:34:31 +06:00
QGroupBox* myButtonsGroup;
QPushButton* myOkBtn;
2003-05-19 20:07:00 +06:00
};
#endif // SMESHGUI_MESHINFOSDLG_H