Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#18963 Minimize compiler warnings
[modules/gui.git]
/
src
/
SVTK
/
SVTK_SetRotationPointDlg.h
diff --git
a/src/SVTK/SVTK_SetRotationPointDlg.h
b/src/SVTK/SVTK_SetRotationPointDlg.h
old mode 100755
(executable)
new mode 100644
(file)
index
4553cdf
..
65a37ea
--- a/
src/SVTK/SVTK_SetRotationPointDlg.h
+++ b/
src/SVTK/SVTK_SetRotationPointDlg.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
14
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
20
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-28,11
+28,15
@@
#define SVTK_SETROTATIONPOINTDLG_H
#include "SVTK.h"
#define SVTK_SETROTATIONPOINTDLG_H
#include "SVTK.h"
+#include "SVTK_Selection.h"
#include <ViewerTools_DialogBase.h>
#include <vtkSmartPointer.h>
#include <ViewerTools_DialogBase.h>
#include <vtkSmartPointer.h>
+#include <QMap>
+#include <QList>
+
class SVTK_ViewWindow;
class SVTK_RenderWindowInteractor;
class SVTK_ViewWindow;
class SVTK_RenderWindowInteractor;
@@
-42,13
+46,15
@@
class QLineEdit;
class QPushButton;
class QGroupBox;
class QCheckBox;
class QPushButton;
class QGroupBox;
class QCheckBox;
+class QAction;
class vtkCallbackCommand;
class vtkCallbackCommand;
+class vtkInteractorStyle;
class vtkObject;
class SVTK_EXPORT SVTK_SetRotationPointDlg : public ViewerTools_DialogBase
{
class vtkObject;
class SVTK_EXPORT SVTK_SetRotationPointDlg : public ViewerTools_DialogBase
{
- Q_OBJECT
;
+ Q_OBJECT
public:
SVTK_SetRotationPointDlg(QtxAction* theAction,
public:
SVTK_SetRotationPointDlg(QtxAction* theAction,
@@
-63,8
+69,10
@@
public:
protected:
SVTK_ViewWindow *myMainWindow;
SVTK_RenderWindowInteractor* myRWInteractor;
protected:
SVTK_ViewWindow *myMainWindow;
SVTK_RenderWindowInteractor* myRWInteractor;
-
bool myIsObserverAdded
;
+
QList<vtkInteractorStyle*> myInteractorStyleList
;
+ QMap<QAction*, Selection_Mode> mySelectActions;
+
QCheckBox* myIsBBCenter;
QGroupBox * myGroupBoxSel;
QCheckBox* myIsBBCenter;
QGroupBox * myGroupBoxSel;
@@
-77,6
+85,7
@@
protected:
QLineEdit* myZ;
void setEnabled(QGroupBox* theGrp, const bool theState);
QLineEdit* myZ;
void setEnabled(QGroupBox* theGrp, const bool theState);
+ bool IsObserverAdded( vtkInteractorStyle* );
//----------------------------------------------------------------------------
// Priority at which events are processed
//----------------------------------------------------------------------------
// Priority at which events are processed
@@
-96,7
+105,7
@@
protected slots:
void onBBCenterChecked();
void onToOrigin();
void onBBCenterChecked();
void onToOrigin();
- void onSelect
Point(
);
+ void onSelect
Menu( QAction*
);
void onCoordChanged();
void onCoordChanged();