Skip to content

ENH: Dealing with displaying empty views

Robert M. O'Bara requested to merge bob.obara/smtk:dealingWithEmptyView into release

View can be empty for a variety of reasons:

  • ModelEntityAttribute Views and Attribute Views with no definitions due to filter by advance and/or category
  • Instance Views with no attribute items due to filtering by advance and/or category

The problem is when displaying children views in a tiled group view, the name of the empty view is displayed with no content.

The solution was to add the concept of isEmpty to the qtViews and qtAttribute

Merge request reports