1. 26 Aug, 2020 1 commit
  2. 16 Jan, 2020 3 commits
  3. 15 Jan, 2020 5 commits
  4. 11 Jan, 2020 1 commit
    • Bob Obara's avatar
      ENH: Adding DisableTopButtons Option for AttributeView (Release Branch) · d070e6b5
      Bob Obara authored
      You can now disable the top row of buttons (as well as the attribute type
      selector combobox/label by using the DisableTopButtons option.
      
      For example:
          <View Type="Attribute" Title="Advance Level Test" TopLevel="true" DisableTopButtons="true">
            <AttributeTypes>
              <Att Type="A"/>
            </AttributeTypes>
          </View>
      d070e6b5
  5. 07 Jan, 2020 2 commits
  6. 18 Dec, 2019 3 commits
  7. 17 Dec, 2019 2 commits
  8. 16 Dec, 2019 1 commit
  9. 12 Dec, 2019 8 commits
  10. 11 Dec, 2019 4 commits
  11. 10 Dec, 2019 1 commit
  12. 09 Dec, 2019 2 commits
  13. 06 Dec, 2019 7 commits
    • Bob Obara's avatar
      ENH: Adding Category and Advance Level Support for Discrete Item Enums · 2d8ff38d
      Bob Obara authored
      A Discrete Item's enums can now have a set of categories associated with it as well as advance level information.  This information is used by the GUI system to filter out enums based on category and advance level settings.
      
      * setEnumCategories(const std::string& enumValue, const std::set\<std::string>& cats);
      * addEnumCategory(const std::string& enumValue, const std::string& cat);
      * std::set\<std::string> enumCategories(const std::string& enumValue) const;
      * const std::map\<std::string, std::set\<std::string>> enumCategoryInfo();
      * void setEnumAdvanceLevel(const std::string& enumValue, unsigned int level);
      * void unsetEnumAdvanceLevel(const std::string& enumValue);
      * unsigned int enumAdvanceLevel(const std::string& enumValue) const;
      * bool hasEnumAdvanceLevel(const std::string& enumValue) const;
      * const std::map<std::string, unsigned int> enumAdvanceLevelInfo() const;
      
      Both JSON and XML IO has been updated to support the new functionality.
      
      In terms of XML the following shows an example snippet for using the new capabilities:
      
      ```xml
             <String Name="s1" Label="Advance Level and Enum Test String" Version="0" OkToInheritCategories="true" CategoryCheckMode="Any" NumberOfRequiredValues="1">
              <Categories>
                <Cat>s1</Cat>
              </Categories>
              <DiscreteInfo>
                <Structure>
                  <Value Enum="e1" AdvanceLevel="1">a</Value>
                  <Categories>
                    <Cat>ec1</Cat>
                  </Categories>
                </Structure>
                <Structure>
                  <Value Enum="e2">b</Value>
                  <Categories>
                    <Cat>ec2</Cat>
                  </Categories>
                </Structure>
                <Value Enum="e3" AdvanceLevel="1">c</Value>
              </DiscreteInfo>
            </String>
      
      ```
      See smtk/attribute/testing/cxx/unitCategoryTest.cxx and smtk/data/attribute/attribute_collection/ConfigurationTest.sbt for examples.
      
      In addition to showing all of the possible enum values, the qtDiscreteValueEditor will include a "Please Select" option.  This is used to show that the item is not set and can be used to unset the item.
      
      Enums can now be filtered out based on the category and advance level information explicitly assigned to the enum.  If the item's current value is not considered "valid" based on the current category/advance level settings, it is added to the list but is colored red to indicate that it is not considered "valid".
      
      * Also cleaned up JSON processing code for DiscreteItemDefinitions.
      2d8ff38d
    • David Thompson's avatar
      Merge topic 'descriptive-crash' into release · 1f7bd12e
      David Thompson authored
      b7ff3f4d Prevent a crash when no PhraseModel is set.
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Merge-request: !1869
      1f7bd12e
    • Bob Obara's avatar
      Merge topic 'fixingDuplicationInOperationView' into release · 3cf34d51
      Bob Obara authored
      d6986f39 BUG: qtFileItem and qtReference Item do not update properly
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Acked-by: T.J. Corona's avatarT.J. Corona <tj.corona@kitware.com>
      Merge-request: !1860
      3cf34d51
    • Bob Obara's avatar
      BUG: qtFileItem and qtReference Item do not update properly · d6986f39
      Bob Obara authored
      If updateUI method is called on either of these classes, it would create new widgets without first checking to see if
      there are existing widgets that need to be deleted first.
      
      Also added a debug print statement for tracking observers in Obervers::callObserversDirectly method that was missing
      d6986f39
    • Bob Obara's avatar
      Merge topic 'improvingCreationAndDeletionOfConfigurations' into release · 0e12e07c
      Bob Obara authored
      61fd96aa ENH: Analysis Configurations are now properly monitored
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Acked-by: John Tourtellott's avatarJohn Tourtellott <john.tourtellott@kitware.com>
      Merge-request: !1857
      0e12e07c
    • Bob Obara's avatar
      ENH: Analysis Configurations are now properly monitored · 61fd96aa
      Bob Obara authored
      The top-level view now checks to see if the attribute being created,
      changed, or deleted represents an analysis configuration. If that is
      the case, the cofiguration combobox is updated appropriately.
      61fd96aa
    • Bob Obara's avatar
      Merge topic 'fixingGroupView' into release · 5801cb06
      Bob Obara authored
      591985ce ENH: Cleanup of qtView Infrastructure
      837d6698 BUG: Fixed issues due to advance level and tab changes
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Merge-request: !1854
      5801cb06