#include "HYDROGUI_Wizard.h"
#include <HYDROData_CalculationCase.h>
+#include <HYDROData_LandCoverMap.h>
class HYDROGUI_ObjSelector;
class HYDROGUI_DataBrowser;
void reset();
int getMode() const;
-
+
void setObjectName( const QString& theName );
QString getObjectName() const;
void setAllGeomObjects( const QStringList& theObjects, const QStringList& theObjectsEntries );
QStringList getAllGeomObjects() const;
void setPolylineNames( const QStringList& theObjects, const QStringList& theObjectsEntries );
+ void setLandCoverMapsNames( const QStringList& theObjects, const QStringList& theObjectsEntries );
+ void setStricklerTableNames( const QStringList& theObjects, const QStringList& theObjectsEntries );
QStringList getSelectedGeomObjects() const;
QStringList getSelectedAvailableGeomObjects() const;
QStringList getSelectedGroups() const;
void refreshZonesBrowser();
void onDataChanged();
void onOrderChanged();
+ void onRuleChanged();
+ void setStricklerTable( const QString& theStricklerTableName, bool theBlockSignals = true );
+ void setLandCoverMap( const QString& theLandCoverMapName, bool theBlockSignals = true );
+
/**
* Process items selection: hide/show bathymetry merge type selector.
*/
SUIT_DataObject* theTargetParent, int theTargetRow, Qt::DropAction theDropAction );
signals:
- void changeMode( int theMode );
+ void changeMode( int theMode );
void addObjects();
void removeObjects();
void objectsSelected();
+ void orderChanged( bool& isConfirmed );
+ void ruleChanged( bool& isConfirmed );
void addGroups();
void removeGroups();
void moveZones( SUIT_DataObject* theRegion, const QList<SUIT_DataObject*>& theZonesList );
void clickedInZonesBrowser( SUIT_DataObject* );
+ void landCoverMapSelected( const QString & theObjName );
+
+ void StricklerTableSelected( const QString & theObjName );
+
+ void regenerateColors();
+
protected:
virtual bool acceptCurrent() const;
-private:
- QList<Handle(HYDROData_Object)> getGeometryObjects();
+protected slots:
+ void OnNewRegion();
+private:
+ QList<Handle(HYDROData_Entity)> getGeometryObjects();
+
QWizardPage* createObjectsPage();
QWizardPage* createGroupsPage();
+ QWizardPage* createLandCoverMapPage();
QWizardPage* createZonesPage();
-
+
QSplitter* mySplitter;
-
+
QGroupBox* myObjectNameGroup;
QLineEdit* myObjectName;
HYDROGUI_NameValidator* myValidator;
QComboBox* myPolylineName;
+ QComboBox* myLandCoverMapName;
+ QComboBox* myStricklerTableName;
QButtonGroup* myModeButtons;