X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ImportBathymetryDlg.h;h=438bddb461d7039717fad29c49b8cbfa0854e5e0;hb=39b1848f103d89cfb544a1651b3fbf221fc2c401;hp=1a8a10a73e7377e4be8df3a201a0561ed2556981;hpb=8527695a89dcaeb06af9f772063c85ba4aa7eb42;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ImportBathymetryDlg.h b/src/HYDROGUI/HYDROGUI_ImportBathymetryDlg.h index 1a8a10a7..438bddb4 100644 --- a/src/HYDROGUI/HYDROGUI_ImportBathymetryDlg.h +++ b/src/HYDROGUI/HYDROGUI_ImportBathymetryDlg.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 @@ -29,6 +25,9 @@ class QGroupBox; class QLineEdit; +class QCheckBox; +class QListWidget; +class QStringList; class HYDROGUI_ImportBathymetryDlg : public HYDROGUI_InputPanel { @@ -43,18 +42,32 @@ public: void setObjectName( const QString& theName ); QString getObjectName() const; - void setFileName( const QString& theFileName ); - QString getFileName() const; + void setFileNames( const QStringList& theFileName ); + QStringList getFileNames() const; + + void setInvertAltitudes( const bool theIsInvert ); + bool isInvertAltitudes() const; + + void setFuseIntoOneOptionChecked( bool isFIO ); + bool isFuseIntoOneOptionChecked() const; + void setFuseIntoOneOptionEnabled(bool enabled); + bool isFuseIntoOneOptionEnabled() const; + signals: - void FileSelected( const QString& theFileName ); + void FileSelected( const QStringList& theFileName ); protected slots: void onBrowse(); + void onStateChanged (int state); private: QGroupBox* myFileNameGroup; - QLineEdit* myFileName; + QListWidget* myFileNames; + + QCheckBox* myInvertAltitudes; + + QCheckBox* myFuseIntoOne; QGroupBox* myObjectNameGroup; QLineEdit* myObjectName;