Salome HOME
lot 10 - warnings for DTM - untested
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_CalculationDlg.h
index 2866b623440101e4729415ba0ea8bf403b57434a..3353209c5cd8cc51ead29a0d60cfedfe61f3fd14 100644 (file)
@@ -48,7 +48,7 @@ class HYDROGUI_CalculationDlg : public HYDROGUI_Wizard
   Q_OBJECT
 
 public:
-  HYDROGUI_CalculationDlg( HYDROGUI_Module* theModule, const QString& theTitle );
+  HYDROGUI_CalculationDlg( HYDROGUI_Module* theModule, const QString& theTitle, bool IsComplete );
   virtual ~HYDROGUI_CalculationDlg();
 
   void                       reset();
@@ -83,14 +83,23 @@ public:
   HYDROData_ListOfRules      getRules() const;
   void                       setRules( const HYDROData_ListOfRules& theRules ) const;
 
+  QList<Handle(HYDROData_Entity)> getGeometryObjects(bool GeomObjOnly = true);
+
 public slots:
   void                       setMode( int theMode );
+  void                       setGeomOrderingEnabled( int enabled );
+
   void                       setBoundary( const QString& theObjName );
   void                       includeGeomObjects( const QStringList& theObjects );
   void                       excludeGeomObjects( const QStringList& theObjects );
   void                       includeGroups( const QStringList& theObjects );
   void                       excludeGroups( const QStringList& theObjects );
 
+  void                       hideAvailableGeomObjects( const QStringList& theObjects );
+  void                       setAlreadyAddedGeomObjects( const QStringList& theObjects ); 
+  QStringList                getAlreadyAddedGeomObjects();
+
+
   void                       includeBoundaryPolygons( const QStringList& theObjects );
   void                       includeISBoundaryPolygons( const QStringList& theObjects );
 
@@ -158,7 +167,7 @@ protected slots:
   void OnNewRegion();
 
 private:
-  QList<Handle(HYDROData_Entity)> getGeometryObjects();
+
   
   QWizardPage*               createObjectsPage();
   QWizardPage*               createGroupsPage();
@@ -182,6 +191,9 @@ private:
   QListWidget*               myAvailableGeomObjects;
   HYDROGUI_OrderedListWidget* myGeomObjects;
 
+  QListWidget*               myAlreadyAddedGeomObjects;
+
+
   HYDROGUI_PriorityWidget*   myPriorityWidget;
 
   QListWidget*               myAvailableGroups;
@@ -197,6 +209,8 @@ private:
   QComboBox*                 myBathymetryChoice;
   QLabel*                    myBathymetryLabel;
   HYDROGUI_Zone*             myCurrentZone;
+
+  bool                       myIsComplete;
 };
 
 #endif