Version: 8.3.0
SMESHGUI_DisplayEntitiesDlg.h
Go to the documentation of this file.
1 // Copyright (C) 2014-2016 CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 // File : SMESHGUI_DisplayEntitiesDlg.h
20 // Author : Alexander KOVALEV, Open CASCADE S.A.S. (alexander.kovalev@opencascade.com)
21 
22 #ifndef SMESHGUI_DISPLAYENTITIES_H
23 #define SMESHGUI_DISPLAYENTITIES_H
24 
25 #include "SMESHGUI_Dialog.h"
26 #include "SMESH_SMESHGUI.hxx"
27 
28 #include <SMESH_Actor.h>
29 
30 class QCheckBox;
31 
33 {
34  Q_OBJECT
35 
36 public:
39 
40 private:
41  void InverseEntityMode( unsigned int& theOutputMode,
42  unsigned int theMode );
43  void updateButtons();
44 
45 private slots:
46  void onOk();
47  void onHelp();
48  void onChangeEntityMode( bool isChecked );
49 
50 private:
51  Handle(SALOME_InteractiveObject) myIObject;
52  unsigned int myEntityMode;
55  int myNbTypes;
56  QCheckBox* my0DElemsTB;
57  QCheckBox* myEdgesTB;
58  QCheckBox* myFacesTB;
59  QCheckBox* myVolumesTB;
60  QCheckBox* myBallsTB;
61 };
62 
63 #endif // SMESHGUI_DISPLAYENTITIES_H