Version: 9.13.0
AdvancedGUI_DividedDiskDlg.h
Go to the documentation of this file.
1 // Copyright (C) 2007-2024 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 #ifndef ADVANCEDGUI_DIVIDEDDISKDLG_H
24 #define ADVANCEDGUI_DIVIDEDDISKDLG_H
25 
26 #include <GEOMBase_Skeleton.h>
27 
28 #include <SALOMEconfig.h>
29 #include CORBA_SERVER_HEADER(AdvancedGEOM)
30 
31 class DlgRef_1Spin;
32 class DlgRef_3Radio;
33 class DlgRef_2Sel1Spin;
34 
35 //=================================================================================
36 // class : AdvancedGUI_DividedDiskDlg
37 // purpose :
38 //=================================================================================
40 {
41  Q_OBJECT
42 
43 public:
46 
47 protected:
48  // redefined from GEOMBase_Helper
49  virtual GEOM::GEOM_IOperations_ptr createOperation();
50  virtual bool isValid( QString& );
51  virtual bool execute( ObjectList& );
52  virtual QList<GEOM::GeomObjPtr> getSourceObjects();
53 
54 private:
55  void Init();
56  void enterEvent( QEvent* );
57 
58 private:
66 
67 private slots:
68  void ConstructorsClicked ( int );
69  void ClickOnOk();
70  bool ClickOnApply();
72  void SelectionIntoArgument();
73  void ActivateThisDialog();
74  void ValueChangedInSpinBox();
75  void RadioButtonClicked();
76  void SetDoubleSpinBoxStep( double );
77 };
78 
79 #endif // ADVANCEDGUI_DIVIDEDDISKDLG_H
std::list< GEOM::GEOM_Object_ptr > ObjectList
Definition: GEOMBase_Helper.h:46
Definition: AdvancedGUI_DividedDiskDlg.h:40
DlgRef_3Radio * GroupOrientation
Definition: AdvancedGUI_DividedDiskDlg.h:61
DlgRef_3Radio * GroupPattern
Definition: AdvancedGUI_DividedDiskDlg.h:62
void RadioButtonClicked()
Definition: AdvancedGUI_DividedDiskDlg.cxx:219
bool ClickOnApply()
Definition: AdvancedGUI_DividedDiskDlg.cxx:254
int myOrientation
Definition: AdvancedGUI_DividedDiskDlg.h:64
virtual bool execute(ObjectList &)
Definition: AdvancedGUI_DividedDiskDlg.cxx:415
void enterEvent(QEvent *)
Definition: AdvancedGUI_DividedDiskDlg.cxx:374
~AdvancedGUI_DividedDiskDlg()
Definition: AdvancedGUI_DividedDiskDlg.cxx:115
virtual bool isValid(QString &)
Definition: AdvancedGUI_DividedDiskDlg.cxx:402
GEOM::GeomObjPtr myDir
Definition: AdvancedGUI_DividedDiskDlg.h:59
void ValueChangedInSpinBox()
Definition: AdvancedGUI_DividedDiskDlg.cxx:384
virtual QList< GEOM::GeomObjPtr > getSourceObjects()
Definition: AdvancedGUI_DividedDiskDlg.cxx:466
void SetEditCurrentArgument()
Definition: AdvancedGUI_DividedDiskDlg.cxx:318
void ActivateThisDialog()
Definition: AdvancedGUI_DividedDiskDlg.cxx:361
void SelectionIntoArgument()
Definition: AdvancedGUI_DividedDiskDlg.cxx:268
virtual GEOM::GEOM_IOperations_ptr createOperation()
Definition: AdvancedGUI_DividedDiskDlg.cxx:393
GEOM::pattern myPattern
Definition: AdvancedGUI_DividedDiskDlg.h:65
void Init()
Definition: AdvancedGUI_DividedDiskDlg.cxx:124
DlgRef_1Spin * GroupParams
Definition: AdvancedGUI_DividedDiskDlg.h:60
void ConstructorsClicked(int)
Definition: AdvancedGUI_DividedDiskDlg.cxx:181
void ClickOnOk()
Definition: AdvancedGUI_DividedDiskDlg.cxx:244
void SetDoubleSpinBoxStep(double)
Definition: AdvancedGUI_DividedDiskDlg.cxx:172
AdvancedGUI_DividedDiskDlg(GeometryGUI *, QWidget *=0)
Definition: AdvancedGUI_DividedDiskDlg.cxx:52
DlgRef_2Sel1Spin * GroupPntVecR
Definition: AdvancedGUI_DividedDiskDlg.h:63
GEOM::GeomObjPtr myPoint
Definition: AdvancedGUI_DividedDiskDlg.h:59
Definition: DlgRef.h:303
Definition: DlgRef.h:431
Definition: DlgRef.h:671
Definition: GEOMBase_Skeleton.h:53
Definition: GeometryGUI.h:74
pattern
Pattern for block division of the disk.
Definition: AdvancedGEOM.idl:32
GenericObjPtr< GEOM::GEOM_Object > GeomObjPtr
Definition: GEOM_GenericObjPtr.h:218