Salome HOME
linear stream interpolator : insertPoints() : deny to add more points than needed
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ImmersibleZoneDlg.h
index 548580e80aca829da33ac089e874e955aa6c0a74..a7190f2cca93b06153d9a7d40f64416a44df1f9a 100644 (file)
@@ -1,12 +1,8 @@
-// Copyright (C) 2007-2013  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) 2014-2015  EDF-R&D
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 #ifndef HYDROGUI_ImmersibleZoneDlg_H
 #define HYDROGUI_ImmersibleZoneDlg_H
 
-#include "HYDROGUI_InputPanel.h"
+#include "HYDROGUI_BasicZoneDlg.h"
 
-class HYDROGUI_ColorWidget;
 class QComboBox;
-class QGroupBox;
-class QLineEdit;
-class QListWidget;
-class QRadioButton;
 
-class HYDROGUI_ImmersibleZoneDlg : public HYDROGUI_InputPanel
+class HYDROGUI_ImmersibleZoneDlg : public HYDROGUI_BasicZoneDlg
 {
   Q_OBJECT
 
@@ -40,46 +31,20 @@ public:
   HYDROGUI_ImmersibleZoneDlg( HYDROGUI_Module* theModule, const QString& theTitle );
   virtual ~HYDROGUI_ImmersibleZoneDlg();
 
-  void                       reset();
-
-  void                       setObjectName( const QString& theName );
-  QString                    getObjectName() const;
+  virtual void               reset();
 
   void                       setPolylineNames( const QStringList& thePolylines );
   void                       setPolylineName( const QString& thePolyline );
   QString                    getPolylineName() const;
 
-  void                       setBathymetryNames( const QStringList& theBathymetries );
-  void                       setBathymetryName( const QString& theBathymetry );
-  QString                    getBathymetryName() const;
-
-  void                       setFillingColor( const QColor& theColor );
-  QColor                     getFillingColor() const;
-
-  void                       setBorderColor( const QColor& theColor );
-  QColor                     getBorderColor() const;
-
 signals:
   void                       CreatePreview( const QString& thePolylineName );
 
 private slots:
   void                       onZoneDefChanged();
-  void                       onFillingColorChanged();
 
 private:
-
-  QGroupBox*                 myObjectNameGroup;
-  QLineEdit*                 myObjectName;
-
   QComboBox*                 myPolylines;
-  QComboBox*                 myBathymetries;
-
-  QRadioButton*              myFillingTransparent;
-  QRadioButton*              myFillingColor;
-  HYDROGUI_ColorWidget*      myFillingColorBox;
-
-  QGroupBox*                 myBorderColorGroup;
-  HYDROGUI_ColorWidget*      myBorderColorBox;
 };
 
 #endif