- void setPolylineName( const QString& theName );
- QString getPolylineName() const;
-
- void setZones( const QStringList& theZones );
- void setSelectedZones( const QStringList& theZones );
- QStringList getSelectedZones() const;
-
- void setSplittedZones( const QStringList& theZones );
- QStringList getSplittedZones() const;
-
- void setSplitZonesPrefix( const QString& theName );
- QString getSplitZonesPrefix() const;
+ void setEditedObject( const Handle(HYDROData_CalculationCase) theCase );
+
+ void setGeomObjects( const QStringList& theObjects );
+ void setSelectedGeomObjects( const QStringList& theObjects );
+ QStringList getSelectedGeomObjects() const;
+ HYDROGUI_Zone* getCurrentZone() const;
+
+public slots:
+ void onEmptyName();
+ void onAlreadyExists( QString theName );
+ void refreshZonesBrowser();
+ /**
+ * Process items selection: hide/show bathymetry merge type selector.
+ */
+ void onSelected( SUIT_DataObject* theObject );
+ /**
+ * Process merge type selection: set the selected bathymetry merge type for the currently selected zone.
+ */
+ void onMergeTypeSelected( int theIndex );
+ /**
+ * Process zones moving. Create a new region with dropped zones or add to existing one.
+ */
+ void onZonesDropped( const QList<SUIT_DataObject*>& theList,
+ SUIT_DataObject* theTargetParent, int theTargetRow, Qt::DropAction theDropAction );