Group only with selected paths

This commit is contained in:
Gaute Lindkvist
2020-10-20 13:46:05 +02:00
parent 19a8aece0e
commit f569d6872b
3 changed files with 53 additions and 40 deletions

View File

@@ -131,6 +131,7 @@ protected:
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
std::vector<RimWellPath*> detachWellPaths( const std::vector<RimWellPath*> wellPathsToDetach );
bool detachWellPath( gsl::not_null<RimWellPath*> wellPath );
private:
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
@@ -142,7 +143,8 @@ private:
void sortWellsByName();
std::vector<RimWellPathGroup*> topLevelGroups() const;
RimWellPathGroup* findOrCreateWellPathGroup( gsl::not_null<RimWellPath*> wellPath );
RimWellPathGroup* findOrCreateWellPathGroup( gsl::not_null<RimWellPath*> wellPath,
const std::vector<RimWellPath*>& wellPathsToGroupWith );
RiaEclipseUnitTools::UnitSystemType findUnitSystemForWellPath( const RimWellPath* wellPath );