mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 09:00:20 -05:00
Add context menu actions to hide/show all geometry for well visibility
Two new actions added to the well path context menu: - "Hide All Geometry (Show Wells)": hides grid cells, faults, and intersections, then forces simulation wells and well paths visible. - "Show All Geometry": restores grid cells, faults, and intersections visibility. Added RimIntersectionCollection::setActive() for direct state control.
This commit is contained in:
1 parent
107615dd09
commit
b7b2a73721
8 files changed
+275
No files matched your search
@@ -95,6 +95,14 @@ bool RimIntersectionCollection::isActive() const
|
||||
return m_isActive();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimIntersectionCollection::setActive( bool active )
|
||||
{
|
||||
m_isActive = active;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -89,6 +89,7 @@ public:
|
||||
void onChildAdded( caf::PdmFieldHandle* containerForNewObject ) override;
|
||||
|
||||
bool isActive() const;
|
||||
void setActive( bool active );
|
||||
|
||||
protected:
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||
|
||||
Reference in new issue
Block a user