Salome HOME
refs #1461: draft patch for some simple acceleration
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ImportBathymetryDlg.h
index 210c5e9dcb47cca74e357bf0dbbcf51f040fcce2..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,17 +44,30 @@ 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;
 
+  void                       setFuseIntoOneOptionChecked( bool isFIO );
+  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:
   QGroupBox*                 myFileNameGroup;
@@ -60,8 +75,12 @@ private:
 
   QCheckBox*                 myInvertAltitudes;
 
+  QCheckBox*                 myFuseIntoOne;
+
   QGroupBox*                 myObjectNameGroup;
   QLineEdit*                 myObjectName;
+
+  bool                       myIsEdit;
 };
 
 #endif