Salome HOME
LOT 15
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ImportBathymetryDlg.h
index 438bddb461d7039717fad29c49b8cbfa0854e5e0..d8443438a9728fda715f49cb8217a2cf2546a9ce 100644 (file)
 #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
 {
@@ -42,8 +44,11 @@ public:
   void                       setObjectName( const QString& theName );
   QString                    getObjectName() const;
 
-  void                       setFileNames( const QStringList& theFileName );
+  //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;
@@ -52,13 +57,16 @@ public:
   bool                       isFuseIntoOneOptionChecked() const;
   void                       setFuseIntoOneOptionEnabled(bool enabled);
   bool                       isFuseIntoOneOptionEnabled() const;
-  
+
+  void                       SetEditMode(bool isEdit);
+
 
 signals:
   void                       FileSelected( const QStringList& theFileName );
 
 protected slots:
   void                       onBrowse();
+  void                       onRemove();
   void                       onStateChanged (int state);
 
 private:
@@ -71,6 +79,8 @@ private:
 
   QGroupBox*                 myObjectNameGroup;
   QLineEdit*                 myObjectName;
+
+  bool                       myIsEdit;
 };
 
 #endif