#include "HYDROGUI_Operation.h"
#include <vector>
#include <QMap>
+#include <QSet>
+
+#include <TopTools_SequenceOfShape.hxx>
+#include <HYDROData_ShapeFile.h>
class SUIT_FileDlg;
class HYDROGUI_Shape;
class TopoDS_Face;
-
+#include <HYDROData_LandCoverMap.h>
class HYDROGUI_ImportLandCoverMapOp : public HYDROGUI_Operation
{
virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg, QStringList& theBrowseObjectsEntries );
HYDROGUI_InputPanel* createInputPanel() const;
+ virtual void onApply();
void erasePreview();
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;
+ HYDROData_ShapeFile myImporter;
+ QString myFileName;
+ QStringList myFieldList;
+ std::vector<HYDROData_ShapeFile::DBF_AttrValue> myAttrValue;
+ QSet<QString> mySetOfAttrValues;
+ Handle(HYDROData_LandCoverMap) myLCM;
};
#endif