1. 09 Dec, 2019 1 commit
  2. 06 Dec, 2019 9 commits
  3. 05 Dec, 2019 2 commits
  4. 04 Dec, 2019 1 commit
  5. 03 Dec, 2019 2 commits
  6. 29 Nov, 2019 1 commit
    • Bob Obara's avatar
      ENH: Cleanup of qtView Infrastructure · 591985ce
      Bob Obara authored
      These changes were made to help simplify/cleanup the qtView infrastructure. There were several places where onShowCategory() was being called in order to update the UI. This resulted in confusion as to the role of the method. In many cases these calls have been replaced with updateUI.
      
      qtBaseView::updateViewUI - has been removed. It was not being used.
      qtBaseAttributeView::updateAttributeData - has been removed. This method's role was to update the attribute content of a View. You should now call updateUI() instead.
      qtBaseAttributeView no longer overrides updateUI()
      
      Also changed setAdvanceLevel(int) method to no longer delete children Views in a qtGroupView
      591985ce
  7. 27 Nov, 2019 3 commits
  8. 26 Nov, 2019 1 commit
    • Bob Obara's avatar
      BUG: Fixed issues due to advance level and tab changes · 837d6698
      Bob Obara authored
      * qtGroupView was not recording the initially selected Tab - so when a new tab would be created (for example when changing an Analysis Confoguration), the current tab would change
      * qtAttributeView would reselect the first Attribute when the advance level changed.
      * Non-top-level qtGroupViews would reset to the first tab when advance level changed.
      
      The fix for the second bug was to not rebuild the Views on advance level changes.
      837d6698
  9. 25 Nov, 2019 1 commit
  10. 22 Nov, 2019 4 commits
    • Bob Obara's avatar
      Merge topic 'addingObserversToViews' into release · 90ef729d
      Bob Obara authored
      0b94d50b ENH: Added observers to Attribute and Instanced View Classes
      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: !1805
      90ef729d
    • Bob Obara's avatar
      Merge topic 'extendingAdvanceLevelSupport' into release · 848d2348
      Bob Obara authored
      864e9274 ENH: Extending Advance Level Support
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Acked-by: John Tourtellott's avatarJohn Tourtellott <john.tourtellott@kitware.com>
      Merge-request: !1844
      848d2348
    • Bob Obara's avatar
      ENH: Added observers to Attribute and Instanced View Classes · 0b94d50b
      Bob Obara authored
      * qtAttributeView observes attribute creation, modification, and expungement results
      * qtInstanceView observes attribute modification results
      * Fixed issue with qtGroupItem due to its column count set to 0
      * Removed the column header labed "1" for extensible groups
      * InstanceView will now report changed items by calling attributeChanged
      0b94d50b
    • Bob Obara's avatar
      ENH: Extending Advance Level Support · 864e9274
      Bob Obara authored
      A full description on how the new advance level support works can be found [here] (https://discourse.kitware.com/t/supporting-advance-read-and-write-at-the-attribute-level/346)
      
      For examples, see attribute/testing/cxx/unitAdvanceLevelTest.cxx and data/attribute/attribute_collection/unitAttributeAdvanceLevelTest.sbi
      
      * Advance Level Information can now be inherited by a Definition from its base Definition
      * Advance Level Information can now be inherited by an Item Definition from its Attribute Definition
      * Advance Level Information can now be inherited by an Item Definition from its owning Item Definition such as a Group Item Definition and/or Value Item Definition
      * Advance Level of an Item is now also based on the advance level of its owning Item or owning Attribute
      * **Advance Levels are know represented as unsigned integers instead of signed integers**
      
      Local Advance Level Information
      Attribute Definition, Item Definition, Attribute and Item now have the ability to have local advance level information for both GUI read and write access.  Related methods include:
      
      * setLocalAdvanceLevel: **note that this replaces setAdvanceLevel methods**
      * unsetLocalAdvanceLevel
      * hasAdvanceLevelInfo
      
      Local advance level information "overrides" the information that would be inherited. For example setting local advance read level for a Definition will override the advance read level that would have been inherited from its base Definition.  Similarly setting the local advance write level for an Attribute will override the advance write level that would have been inherited from its Definition.
      
      Item's advanceLevel
      An Item's Advance Level is now the max of its local level (or if not set, it's definition) and the advance level of its owning Item or owning Attribute.
      
      Applying Advance Levels
      Definition and ItemDefinition has methods for pushing its advance level information to their children Definitions and Item Definitions.  These method are used by Resource's finalizeDefinitions method.
      
      XML and JSON Support
      The same format used for setting local Advance Levels for Items is used for Attribute, Definition, and Item Definition
      
      ``` xml
          <AttDef Type="A" Label="A" BaseType="" Version="0" AdvanceWriteLevel="1" Unique="false"\>
      
      ```
      
       Qt View Changes
      * qtItem widgets now check to see if they are writable based on their Item's advance write level and the current advance level.  If they are not or if their ItemView has the readonly property, they will be readonly.
      * If the current advance level is below an attribute's advance write level, then the attribute will not be eligible for deletion in an AttributeView.
      
      Also Addressed the following issues:
      * Fixed Crash caused by qtReferenceItemCombo trying to update after it's combobox has been deleted
      * Fixed issue where JSON was not saving attribute resource's advance level info that did not have color specified
      864e9274
  11. 19 Nov, 2019 1 commit
  12. 14 Nov, 2019 4 commits
  13. 13 Nov, 2019 1 commit
  14. 11 Nov, 2019 9 commits