Salome HOME
refs #568: use ordered list view with selection synchronized with object browser...
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_CalculationDlg.h
index 566ea281381e748c390641cfaef6d3402858989b..f4ee385fd047cbee7db7f1c5bf57e309f9554612 100644 (file)
@@ -63,10 +63,14 @@ public:
 
   void                       setAllGeomObjects( const QStringList& theObjects, const QStringList& theObjectsEntries );
   QStringList                getAllGeomObjects() const;
+  void                       setAllLandCovers( const QStringList& theObjects, const QStringList& theObjectsEntries );
+  QStringList                getAllLandCovers() const;
   void                       setPolylineNames( const QStringList& theObjects, const QStringList& theObjectsEntries );
   void                       setStricklerTableNames( const QStringList& theObjects, const QStringList& theObjectsEntries );
   QStringList                getSelectedGeomObjects() const;
+  QStringList                getSelectedLandCovers() const;
   QStringList                getSelectedAvailableGeomObjects() const;
+  QStringList                getSelectedAvailableLandCovers() const;
   QStringList                getSelectedGroups() const;
   QStringList                getSelectedAvailableGroups() const;
   HYDROGUI_Zone*             getCurrentZone() const;
@@ -79,6 +83,9 @@ public:
   HYDROData_ListOfRules      getRules() const;
   void                       setRules( const HYDROData_ListOfRules& theRules ) const;
 
+  HYDROData_ListOfRules      getLandCoverRules() const;
+  void                       setLandCoverRules( const HYDROData_ListOfRules& theRules ) const;
+
 public slots:
   void                       setMode( int theMode );
   void                       setBoundary( const QString& theObjName );
@@ -93,7 +100,9 @@ public slots:
   void                       onOrderChanged();
 
   void                       setLandCoverMode( int theMode );
-  void                       setStricklerTable( const QString& theStricklerTableName );
+  void                       setStricklerTable( const QString& theStricklerTableName, bool theBlockSignals = true );
+  void                       includeLandCovers( const QStringList& theLandCovers, bool theReset );
+  void                       excludeLandCovers( const QStringList& theLandCovers );
   void                       onOrderLandCoverChanged();
 
   /**
@@ -132,6 +141,7 @@ signals:
 
   void                       addLandCovers();
   void                       removeLandCovers();
+  void                       landCoversSelected();
   void                       orderLandCoverChanged( bool& isConfirmed );
   
   void                       StricklerTableSelected( const QString & theObjName );
@@ -144,8 +154,8 @@ protected slots:
   void OnNewRegion();
 
 private:
-  QList<Handle(HYDROData_Object)> getGeometryObjects();
-  QList<Handle(HYDROData_LandCover)> getLandCovers();
+  QList<Handle(HYDROData_Entity)> getGeometryObjects();
+  QList<Handle(HYDROData_Entity)> getLandCovers();
 
   QWizardPage*               createObjectsPage();
   QWizardPage*               createGroupsPage();