Salome HOME
Merge from V5_1_main 14/05/2010
[modules/visu.git] / src / VISUGUI / VisuGUI_Plot3DDlg.h
index 8a8d2876367142589f140816d8aef7d3fb921fc3..a04882dd1d09086aaabca3040f87dff292d3ea66 100644 (file)
@@ -1,6 +1,6 @@
-//  VISU VISUGUI : GUI of VISU component
+//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
 //
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 //
 //  This library is free software; you can redistribute it and/or
 //  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.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
-//
+//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
+//  VISU VISUGUI : GUI of VISU component
 //  File   : VisuGUI_Plot3DDlg.h
 //  Author : Laurent CORNABE & Hubert ROLLAND
 //  Module : VISU
 //  $Header$
-
+//
 #ifndef VISUGUI_PLOT3D_H
 #define VISUGUI_PLOT3D_H
 
 #include "VisuGUI_Prs3dDlg.h"
 
-#include <qhbuttongroup.h>
-#include <qtabwidget.h>
+
+class QButtonGroup;
+class QTabWidget;
+class QGroupBox;
 
 class SalomeApp_Module;
+class SalomeApp_IntSpinBox;
+
 class VisuGUI_InputPane;
+class SalomeApp_DoubleSpinBox;
 
 namespace VISU 
 {
@@ -45,9 +50,8 @@ namespace VISU
 class VISU_Plot3DPL;
 class SVTK_ViewWindow;
 class SALOME_Actor;
-class QtxDblSpinBox;
 
-class VisuGUI_Plot3DPane : public QVBox
+class VisuGUI_Plot3DPane : public QWidget//QVBox
 {
   Q_OBJECT
 
@@ -75,15 +79,16 @@ class VisuGUI_Plot3DPane : public QVBox
   void restorePrsParams();
 
   QButtonGroup  * GBOrientation;
+  QGroupBox     * GBoxOrient;
   QLabel        * LabelRot1;
   QLabel        * LabelRot2;
-  QtxDblSpinBox * Rot1;
-  QtxDblSpinBox * Rot2;
-  QtxDblSpinBox * PositionSpn;
+  SalomeApp_DoubleSpinBox * Rot1;
+  SalomeApp_DoubleSpinBox * Rot2;
+  SalomeApp_DoubleSpinBox * PositionSpn;
   QCheckBox     * RelativeChkB;
-  QtxDblSpinBox * ScaleSpn;
-  QHButtonGroup * GBPrsType;
-  QSpinBox      * NbContoursSpn;
+  SalomeApp_DoubleSpinBox * ScaleSpn;
+  QButtonGroup  * GBPrsType;
+  SalomeApp_IntSpinBox * NbContoursSpn;
   QCheckBox     * PreviewChkB;
 
  private slots:
@@ -105,7 +110,7 @@ class VisuGUI_Plot3DDlg : public VisuGUI_ScalarBarBaseDlg
   ~VisuGUI_Plot3DDlg();
 
   virtual void initFromPrsObject( VISU::ColoredPrs3d_i* thePrs,
-                                 bool theInit );
+                                  bool theInit );
 
   virtual int  storeToPrsObject(VISU::ColoredPrs3d_i* thePrs);