Salome HOME
LOT 15
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ImportBathymetryDlg.h
index f39042bb0c2431618d944499c1b976f476b57f54..d8443438a9728fda715f49cb8217a2cf2546a9ce 100644 (file)
@@ -1,8 +1,4 @@
-// Copyright (C) 2007-2015  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
 #include "HYDROGUI_InputPanel.h"
 
 #include <QMap>
+#include <QList>
 
 class QGroupBox;
 class QLineEdit;
 class QCheckBox;
+class QListWidget;
+class QStringList;
+class QListWidgetItem;
 
 class HYDROGUI_ImportBathymetryDlg : public HYDROGUI_InputPanel
 {
@@ -44,26 +44,43 @@ 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                       addFileNames( const QStringList& theFileNames );
+  void                       removeFileNames( const QList<QListWidgetItem*>& theFileNamesToRem );
+  void                       UpdateCheckBoxStates();
 
   void                       setInvertAltitudes( const bool theIsInvert );
   bool                       isInvertAltitudes() const;
 
+  void                       setFuseIntoOneOptionChecked( bool isFIO );
+  bool                       isFuseIntoOneOptionChecked() const;
+  void                       setFuseIntoOneOptionEnabled(bool enabled);
+  bool                       isFuseIntoOneOptionEnabled() const;
+
+  void                       SetEditMode(bool isEdit);
+
+
 signals:
-  void                       FileSelected( const QString& theFileName );
+  void                       FileSelected( const QStringList& theFileName );
 
 protected slots:
   void                       onBrowse();
+  void                       onRemove();
+  void                       onStateChanged (int state);
 
 private:
   QGroupBox*                 myFileNameGroup;
-  QLineEdit*                 myFileName;
+  QListWidget*               myFileNames;
 
   QCheckBox*                 myInvertAltitudes;
 
+  QCheckBox*                 myFuseIntoOne;
+
   QGroupBox*                 myObjectNameGroup;
   QLineEdit*                 myObjectName;
+
+  bool                       myIsEdit;
 };
 
 #endif