X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ImmersibleZoneDlg.h;h=a7190f2cca93b06153d9a7d40f64416a44df1f9a;hb=d6e19029f8b41f295db878e9aecf451c2edda4af;hp=88a42e0915c84a7e3483cd0e7179841d4c1b45d4;hpb=16f06b749441da906280085ce23c213b175a49b4;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ImmersibleZoneDlg.h b/src/HYDROGUI/HYDROGUI_ImmersibleZoneDlg.h index 88a42e09..a7190f2c 100644 --- a/src/HYDROGUI/HYDROGUI_ImmersibleZoneDlg.h +++ b/src/HYDROGUI/HYDROGUI_ImmersibleZoneDlg.h @@ -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 @@ -23,13 +19,11 @@ #ifndef HYDROGUI_ImmersibleZoneDlg_H #define HYDROGUI_ImmersibleZoneDlg_H -#include "HYDROGUI_InputPanel.h" +#include "HYDROGUI_BasicZoneDlg.h" class QComboBox; -class QGroupBox; -class QLineEdit; -class HYDROGUI_ImmersibleZoneDlg : public HYDROGUI_InputPanel +class HYDROGUI_ImmersibleZoneDlg : public HYDROGUI_BasicZoneDlg { Q_OBJECT @@ -37,19 +31,12 @@ 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; - signals: void CreatePreview( const QString& thePolylineName ); @@ -57,12 +44,7 @@ private slots: void onZoneDefChanged(); private: - - QGroupBox* myObjectNameGroup; - QLineEdit* myObjectName; - QComboBox* myPolylines; - QComboBox* myBathymetries; }; #endif