Version: 9.16.0
SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h
Go to the documentation of this file.
1// Copyright (C) 2007-2026 CEA, EDF, 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
20#ifndef SMESHGUI_FaceGroupsSeparatedByEdges_H
21#define SMESHGUI_FaceGroupsSeparatedByEdges_H
22
23// SMESH includes
24#include "SMESH_SMESHGUI.hxx"
25#include "SMESHGUI_PreviewDlg.h"
26
27#include <SALOMEconfig.h>
28#include CORBA_SERVER_HEADER(SMESH_MeshEditor)
29#include CORBA_SERVER_HEADER(SMESH_Mesh)
30
31class LightApp_SelectionMgr;
32class QCheckBox;
33class QLineEdit;
34class QWidget;
35class QPushButton;
37
43{
44 Q_OBJECT
45
46 public:
47
50
51 private slots:
52 void ClickOnOk();
53 bool ClickOnApply();
54 void ClickOnHelp();
55 void SelectionIntoArgument();
56 void DeactivateActiveDialog();
57 void ActivateThisDialog();
58 void reject();
59 void onArgChange() { onDisplaySimulation( true ); }
60 virtual void onDisplaySimulation( bool = true );
61
62 private:
63
64 LightApp_SelectionMgr* mySelectionMgr;
67
68 QLineEdit* myMeshName;
72
73 QPushButton* buttonOk;
74 QPushButton* buttonCancel;
75 QPushButton* buttonApply;
76 QPushButton* buttonHelp;
77
78 SMESH::SMESH_Mesh_var myMesh;
79};
80
81#endif // SMESHGUI_FaceGroupsSeparatedByEdges_H
#define SMESHGUI_EXPORT
Definition: SMESH_SMESHGUI.hxx:36
Dialog to create face groups divided by sharp edges.
Definition: SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h:43
QWidget * GroupButtons
Definition: SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h:66
SMESHGUI_SpinBox * myAngle
Definition: SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h:69
SMESH::SMESH_Mesh_var myMesh
Definition: SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h:78
LightApp_SelectionMgr * mySelectionMgr
Definition: SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h:64
QWidget * GroupArgs
Definition: SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h:65
void onArgChange()
Definition: SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h:59
QPushButton * buttonApply
Definition: SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h:75
QLineEdit * myMeshName
Definition: SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h:68
QPushButton * buttonHelp
Definition: SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h:76
QCheckBox * myUseExistingCheck
Definition: SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h:71
QPushButton * buttonOk
Definition: SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h:73
QPushButton * buttonCancel
Definition: SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h:74
QCheckBox * myCreateEdgesCheck
Definition: SMESHGUI_FaceGroupsSeparatedByEdgesDlg.h:70
Definition: SMESHGUI_PreviewDlg.h:44
virtual void onDisplaySimulation(bool)
Definition: SMESHGUI_PreviewDlg.cxx:104
Definition: SMESHGUI_SpinBox.h:48
Definition: SMESHGUI.h:84