mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 09:00:20 -05:00
#13997 3dView: Show active filter name(s) below Z-scale indicator
Adds a new HUD label in the upper-left of the 3D view that reads "Filter : <name(s)>" whenever a cell, property, or per-view data filter is active. The label is hidden when nothing is enabled. Names are joined per the source collection's AND/OR combine mode, and contributions from different collections are concatenated with ", ". On Eclipse views the unified RimFilterInViewCollection is used as the single anchor; GeoMech views aggregate cell and GeoMech property filters directly.
This commit is contained in:
1 parent
af5c133736
commit
20087c6dd9
15 files changed
+238
No files matched your search
@@ -2597,6 +2597,16 @@ const RimPropertyFilterCollection* RimEclipseView::propertyFilterCollection() co
|
||||
return eclipsePropertyFilterCollection();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RimEclipseView::activeFiltersDisplayText() const
|
||||
{
|
||||
if ( m_filterInViewCollection() ) return m_filterInViewCollection()->activeFiltersDisplayText();
|
||||
|
||||
return RimGridView::activeFiltersDisplayText();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user