* 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 );
signals:
void addObjects();
void removeObjects();
void splitZones();
- void setMergeType( int theMergeType, QString theBathymetryName );
+ void setMergeType( int theMergeType, QString& theBathymetryName );
+ void createRegion( const QList<SUIT_DataObject*>& theZonesList );
+ void moveZones( SUIT_DataObject* theRegion, const QList<SUIT_DataObject*>& theZonesList );
private: