Version: 9.12.0
BasicGUI_WorkingPlaneDlg.h
Go to the documentation of this file.
1 // Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
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, or (at your option) any later version.
10 //
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.
15 //
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
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 
23 // GEOM GEOMGUI : GUI for Geometry component
24 // File : BasicGUI_WorkingPlaneDlg.h
25 // Author : Lucien PIGNOLONI, Open CASCADE S.A.S.
26 //
27 #ifndef BASICGUI_WORKINGPLANEDLG_H
28 #define BASICGUI_WORKINGPLANEDLG_H
29 
30 #include <GEOMBase_Skeleton.h>
31 
32 #include <gp_Ax3.hxx>
33 
34 class DlgRef_1Sel;
35 class DlgRef_2Sel;
36 class DlgRef_3Check;
37 class QCheckBox;
38 
39 //=================================================================================
40 // class : BasicGUI_WorkingPlaneDlg
41 // purpose :
42 //=================================================================================
44 {
45  Q_OBJECT
46 
47 public:
48  BasicGUI_WorkingPlaneDlg( GeometryGUI*, QWidget* = 0, bool = false, Qt::WindowFlags = 0 );
50 
51 private:
52  void Init();
53  void enterEvent( QEvent* );
54 
55  bool updateWPlane( const bool = true );
56 
57  GEOM::GEOM_Object_var myFace;
58  GEOM::GEOM_Object_var myVectX;
59  GEOM::GEOM_Object_var myVectZ;
60 
62 
66 
67  QCheckBox* myReverseCB;
68 
69  gp_Ax3 myWPlane;
70 
71 private slots:
72  void ClickOnOk();
73  bool ClickOnApply();
74 
75  void ConstructorsClicked( int );
76  void GroupClicked( int );
78  void SelectionIntoArgument();
79  void LineEditReturnPressed();
80  void onReverse();
81 
82  void ActivateThisDialog();
84 };
85 
86 #endif // BASICGUI_WORKINGPLANEDLG_H
Definition: BasicGUI_WorkingPlaneDlg.h:44
int aOriginType
Definition: BasicGUI_WorkingPlaneDlg.h:61
DlgRef_3Check * Group3
Definition: BasicGUI_WorkingPlaneDlg.h:65
GEOM::GEOM_Object_var myVectX
Definition: BasicGUI_WorkingPlaneDlg.h:58
void ActivateThisDialog()
Definition: BasicGUI_WorkingPlaneDlg.cxx:438
GEOM::GEOM_Object_var myVectZ
Definition: BasicGUI_WorkingPlaneDlg.h:59
void SelectionIntoArgument()
Definition: BasicGUI_WorkingPlaneDlg.cxx:293
void onReverse()
Definition: BasicGUI_WorkingPlaneDlg.cxx:428
bool ClickOnApply()
Definition: BasicGUI_WorkingPlaneDlg.cxx:276
void GroupClicked(int)
Definition: BasicGUI_WorkingPlaneDlg.cxx:255
gp_Ax3 myWPlane
Definition: BasicGUI_WorkingPlaneDlg.h:69
DlgRef_1Sel * Group1
Definition: BasicGUI_WorkingPlaneDlg.h:63
bool updateWPlane(const bool=true)
Definition: BasicGUI_WorkingPlaneDlg.cxx:472
QCheckBox * myReverseCB
Definition: BasicGUI_WorkingPlaneDlg.h:67
DlgRef_2Sel * Group2
Definition: BasicGUI_WorkingPlaneDlg.h:64
~BasicGUI_WorkingPlaneDlg()
Definition: BasicGUI_WorkingPlaneDlg.cxx:132
GEOM::GEOM_Object_var myFace
Definition: BasicGUI_WorkingPlaneDlg.h:57
void ConstructorsClicked(int)
Definition: BasicGUI_WorkingPlaneDlg.cxx:190
void enterEvent(QEvent *)
Definition: BasicGUI_WorkingPlaneDlg.cxx:462
void DeactivateActiveDialog()
Definition: BasicGUI_WorkingPlaneDlg.cxx:452
void Init()
Definition: BasicGUI_WorkingPlaneDlg.cxx:140
void LineEditReturnPressed()
Definition: BasicGUI_WorkingPlaneDlg.cxx:414
BasicGUI_WorkingPlaneDlg(GeometryGUI *, QWidget *=0, bool=false, Qt::WindowFlags=0)
Definition: BasicGUI_WorkingPlaneDlg.cxx:62
void SetEditCurrentArgument()
Definition: BasicGUI_WorkingPlaneDlg.cxx:376
void ClickOnOk()
Definition: BasicGUI_WorkingPlaneDlg.cxx:265
Definition: DlgRef.h:319
Definition: DlgRef.h:607
Definition: DlgRef.h:655
Definition: GEOMBase_Skeleton.h:53
Definition: GeometryGUI.h:74