Salome HOME
size of image is limited by 7000 pixels
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ImportLandCoverMapOp.h
index 7276fae2220f0f148802d521f0296fcd366b2a4e..1c84c04f3f79b413bb0189358f9463327b5b85b8 100644 (file)
@@ -34,6 +34,7 @@
 class SUIT_FileDlg;
 class HYDROGUI_Shape;
 class TopoDS_Face;
+#include <HYDROData_LandCoverMap.h>
 
 class HYDROGUI_ImportLandCoverMapOp : public HYDROGUI_Operation
 {
@@ -49,6 +50,7 @@ protected:
 
   virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg, QStringList& theBrowseObjectsEntries );
   HYDROGUI_InputPanel* createInputPanel() const;
+  virtual void onApply();
 
   void erasePreview();
  
@@ -57,15 +59,16 @@ protected slots:
   void onSelectionChanged( const QStringList& theSelectedNames );
   void onViewerSelectionChanged ();
   void onNext( const int theIndex );
-  void onBack( const int theIndex );
 
 private:
   QMap<QString, HYDROGUI_Shape*> myPolygonName2PrsShape;
   TopTools_SequenceOfShape myPolygonFaces;
-  QSet<QString> mySetOfAttrValues;
   HYDROData_ShapeFile myImporter;
   QString myFileName;
   QStringList myFieldList;
+  std::vector<HYDROData_ShapeFile::DBF_AttrValue> myAttrValue;
+  QSet<QString> mySetOfAttrValues;
+  Handle(HYDROData_LandCoverMap) myLCM;
 };
 
 #endif