-// 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
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();
- void onFillingColorChanged( const bool theIsChecked );
private:
-
- QGroupBox* myObjectNameGroup;
- QLineEdit* myObjectName;
-
QComboBox* myPolylines;
- QComboBox* myBathymetries;
-
- QRadioButton* myFillingTransparent;
- QRadioButton* myFillingColor;
- HYDROGUI_ColorWidget* myFillingColorBox;
-
- QGroupBox* myBorderColorGroup;
- HYDROGUI_ColorWidget* myBorderColorBox;
};
#endif