Skip to content

ENH: Updating to use SMTK current release

Robert M. O'Bara requested to merge bob.obara/cmb:updatingSMTKonRelease into release

This is a precursor to releasing CMB 5.1 and SMTK 2.1

SMTK changes include:

BugFixes:

When the model entity item is not extensible and its required value is set to one, qtCheckItem would not handle the selection properly. Though the text shows that the new item is selected, actually it's empty.

Crashing CMB when doing a closeData or shuttingdown CMB due to soem operators having custom GUI Views

When using an attribute view involving a single attribute definition, the view would always use the definition's type name even if it had a label specified

Enhancements:

  • View class now has a name() member function that replaces the old title() method
  • Views can now have a label attribute specified that is displayed instead of its name (this is the main reason title was replaced with name)
  • note that unlike the View's name, the label does not have to be unique w/r to other existing Views
  • For V2 Attribute Files - you can use either Name or Title for a View but when SMTK writes out the file it will convert Title to Name
  • Added an option in the top level view to always use category filtering - the attribute is FilterByCategoryMode="alwaysOn"
  • Added CategorySelectionView which displays only one of its children views based on the current category

Example:

Merge request reports