// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
// File : TransformationGUI_RotationDlg.h
// Author : Lucien PIGNOLONI
// Module : GEOM
-// $Header$
#ifndef DIALOGBOX_ROTATION_H
#define DIALOGBOX_ROTATION_H
#include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel1Spin2Check.h"
+#include "DlgRef_4Sel1Spin2Check.h"
//=================================================================================
// class : TransformationGUI_RotationDlg
Q_OBJECT
public:
- TransformationGUI_RotationDlg(QWidget* parent = 0, const char* name = 0, SALOME_Selection* Sel = 0, bool modal = FALSE, WFlags fl = 0);
+ TransformationGUI_RotationDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0,
+ const char* name = 0, bool modal = FALSE, WFlags fl = 0);
~TransformationGUI_RotationDlg();
protected:
virtual void closeEvent( QCloseEvent* e );
-private :
+private:
void Init();
void enterEvent(QEvent* e);
double GetAngle() const;
-
+
GEOM::ListOfGO myObjects;
- GEOM::GEOM_Object_var myAxis;
+ GEOM::GEOM_Object_var myAxis, myCentPoint, myPoint1, myPoint2;
- DlgRef_2Sel1Spin2Check* GroupPoints;
+ DlgRef_4Sel1Spin2Check* GroupPoints;
private slots:
void ClickOnOk();
bool ClickOnApply();
- void ClickOnCancel();
void ActivateThisDialog();
- void DeactivateActiveDialog();
void LineEditReturnPressed();
void SelectionIntoArgument();
void SetEditCurrentArgument();
void ValueChangedInSpinBox();
void CreateCopyModeChanged(bool isCreateCopy);
+ void ConstructorsClicked(int constructorId);
void onReverse();
};