Skip to content

Cleanup multiblock inspector

Several improvements to Multi-Block Inspector.

Before:
image

After:
image

  1. Code cleanup: uses the same pqCompositeDataInformationTreeModel as Information tab, Extract Blocks panel etc. Thus, pqCompositeDataInformationTreeModel now becomes a single, flexible, configurable QAbstractItemModel subclass for showing composite dataset hierarchy accessed via vtkPVDataInformation.

  2. UI improvements: icons are much prettier than before, with better indication of things that are explicitly overridden or inherited.

  3. UI improvements: color/visibility icons on the left side mean they don't get hidden even when the block names are too long.

  4. UI improvements: a handy legend on the widget (which can be hidden) provides a key to interpret icons.
    image
    The state of this button indeed gets preserved across sessions.

  5. UI improvements: hover-over tool tips to indicate how to change color/opacity.
    image

Fixes #17421 (closed), #17389 (closed).

Merge request reports