Salome HOME
[bos #35159][EDF] (2023-T1) Following commands in Python console. Fixed intermediate...
[modules/gui.git] / src / SUIT / SUIT_ViewWindow.h
old mode 100755 (executable)
new mode 100644 (file)
index fd717f6..b3712c2
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -72,10 +72,14 @@ public:
   virtual void      setDropDownButtons( bool );
   bool              dropDownButtons() const;
 
+  virtual void      enableAutoRotation( const bool );
+  virtual bool      isAutoRotationEnabled() const;
+
   virtual SUIT_CameraProperties cameraProperties();
 
 public slots:
   virtual void      onDumpView();
+  void              setVisible( bool );
 
 signals:
   void              tryClosing( SUIT_ViewWindow* );
@@ -89,7 +93,10 @@ signals:
   void              keyReleased( SUIT_ViewWindow*, QKeyEvent* );
   void              contextMenuRequested( QContextMenuEvent *e );
   void              viewModified( SUIT_ViewWindow* );
-  
+  void              vpStartRotate( int, int, qint64 );
+  void              vpRotate( int, int, qint64 );
+  void              vpEndRotate( int, int, qint64 );
+
 protected:
   void              closeEvent( QCloseEvent* );
   virtual void      contextMenuEvent( QContextMenuEvent* );
@@ -114,6 +121,7 @@ private:
 
   QtxActionToolMgr* myToolMgr;
   bool              myIsDropDown;
+  bool              myIsAutoRotation;
   ActionsMap        myMultiActions;
   QAction*          mySyncAction;
 };