-
- Handle(HYDROData_Polyline) aBoundaryPolyline = myEditedObject->GetBoundaryPolyline();
- if ( !aBoundaryPolyline.IsNull() )
- {
- QString aPolylineName = aBoundaryPolyline->GetName();
- aPanel->setPolylineName( aPolylineName );
- }
-
- HYDROData_SequenceOfObjects aRefZones = myEditedObject->GetZones();
- HYDROData_SequenceOfObjects::Iterator anIter( aRefZones );
- for ( ; anIter.More(); anIter.Next() )
- {
- Handle(HYDROData_Zone) aRefZone =
- Handle(HYDROData_Zone)::DownCast( anIter.Value() );
- if ( aRefZone.IsNull() )
- continue;
-
- QString aRefZoneName = aRefZone->GetName();
- if ( aRefZoneName.isEmpty() )
- continue;
-
- aSelectedZones.append( aRefZoneName );
- }
-
- HYDROData_SequenceOfObjects aSplitZones = myEditedObject->GetSplittedZones();
- anIter.Init( aSplitZones );
- for ( ; anIter.More(); anIter.Next() )
- {
- Handle(HYDROData_Zone) aSplitZone =
- Handle(HYDROData_Zone)::DownCast( anIter.Value() );
- if ( aSplitZone.IsNull() )
- continue;
-
- QString aSplitZoneName = aSplitZone->GetName();
- if ( aSplitZoneName.isEmpty() )
- continue;
-
- aSplittedZones.append( aSplitZoneName );
- }