1. 28 Jun, 2021 1 commit
  2. 18 Jun, 2021 1 commit
    • David Thompson's avatar
      Fixes for cmake policy CMP0115 and test-label uniformity. · 1c3a1bb7
      David Thompson authored
      CMP0115 requires test names passed to `smtk_add_test` to
      include the filetype extension.
      
      The `smtk_add_test` macro was not properly escaping labels
      so if developers specified multiple labels they were not
      passed to `set_tests_properties(LABELS ...)` properly.
      
      A lot of test labels in SMTK were not consistently named
      (bad capitalization and other variations).
      1c3a1bb7
  3. 18 May, 2021 3 commits
  4. 21 Apr, 2021 1 commit
  5. 13 Apr, 2021 1 commit
  6. 09 Sep, 2020 2 commits
  7. 07 Aug, 2020 1 commit
    • Bob Obara's avatar
      ENH: qtAttributeItemInfo now stores a qtBaseAttributeView · abcfbb54
      Bob Obara authored
      * Added std::string ValueItem::valueLabel(ith) - convenience method to accede its definition’s valueLabel method
      
      * Changed to qtBaseAttributeView
          * CategoryTest was changed to take in a const attribute::ItemDefinitionPtr& instead of an attribute::ItemPtr since only the definition is needed.  This also eliminated the construction/destruction of a shared pointer.
          * Added displayItemDefinition method which is similar to displayItem.
          * isItemWriteable now takes in a const attribute::ItemPtr & instead of a attribute::ItemPtr which eliminates  the construction/destruction of a shared pointer.
         * advaceLevelTest now takes in a const attribute::ItemPtr & instead of a attribute::ItemPtr which eliminates  the construction/destruction of a shared pointer.
      
      * qtAttributeInternal now stores a QPointer  to a qtBaseAttributeView instead of a qtBaseView - this is more conceptually consistent and eliminated the need for dynamic casts.
      
      * Changes to qtAttributeItemInfo
          * Now stores a QPointer  to a qtBaseAttributeView instead of a qtBaseView - this is more conceptually consistent and eliminated the need for dynamic casts.
          * Changed the API not to require it to be passed as a QPointer which was also unnecessary.
      
      * Changes to qtUIManager
          * Added the following methods that take into consideration the current text color (which changes based on the system’s theme):
               * correctedInvalidColor()
               * correctedDefaultColor()
               * correctedNormalColor()
      abcfbb54
  8. 31 Jul, 2020 1 commit
  9. 14 Jul, 2020 1 commit
  10. 06 Jul, 2020 1 commit
  11. 03 Jul, 2020 1 commit
  12. 09 Jun, 2020 1 commit
  13. 05 Jun, 2020 3 commits
  14. 19 May, 2020 1 commit
  15. 17 Mar, 2020 2 commits
  16. 10 Feb, 2020 1 commit
    • T.J. Corona's avatar
      Updates to ViewWidget registration · 2300431b
      T.J. Corona authored
      Several updates to ViewWidget registration:
      1. Fully decouple smtk::view from smtk::extension
      2. Reference registered views by type index, not type name
      3. Register ViewWidget aliases by type, not by string
      2300431b
  17. 06 Feb, 2020 1 commit
  18. 04 Feb, 2020 1 commit
  19. 25 Jan, 2020 1 commit
    • David Thompson's avatar
      Preliminary support for image data from resources. · 8bd65f03
      David Thompson authored
      + Add image block to vtkResourceMultiBlockSource's output.
      + Add a slice representation to the first image block
        of SMTK's representation of a resource.
      + Add domain to slice property to create sliders in the UI
        for a demo.
      + Create a color map for the slice representations.
        We assume that if an SMTK resource includes image data,
        the resource will provide us with a color map for it.
      + Add missing ParaView dependencies.
      + Remove image slice properties (slice sliders) from the
        property panel for SMTK representations until there is a
        way to add properties dynamically based on the available
        images to be shown.
      8bd65f03
  20. 22 Jan, 2020 1 commit
  21. 17 Jan, 2020 1 commit
  22. 07 Jan, 2020 1 commit
  23. 09 Dec, 2019 3 commits
  24. 07 Dec, 2019 2 commits
  25. 05 Dec, 2019 1 commit
  26. 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
  27. 06 Nov, 2019 1 commit
  28. 04 Nov, 2019 1 commit
  29. 31 Oct, 2019 1 commit
    • David Thompson's avatar
      Fix an interaction issue with SMTK/PV widgets. · 9cb04877
      David Thompson authored
      When a widget is used to update an attribute item's value,
      this triggers a "Signal" operation. In turn, the base
      pqSMTKAttributeItemWidget class's operation observer was
      responding by asking the widget to update widget values from
      the item. This made interaction via the widget overtly unfriendly.
      Don't do that.
      9cb04877
  30. 29 Oct, 2019 2 commits