1. 12 Jan, 2019 7 commits
    • David Thompson's avatar
      Signal more changes to the attribute system... · 371288b7
      David Thompson authored
      ... to keep resource tree and component list views up to date.
      371288b7
    • David Thompson's avatar
      Add a second "dummy" operation for the attribute system. · 68f45eec
      David Thompson authored
      This operation is used to signal when attributes (not resources)
      are created, or expunged.
      68f45eec
    • David Thompson's avatar
      Fix updates to ComponentPhraseModel. · ad5260a7
      David Thompson authored
      Handle the case when descriptive phrases belonging to the
      same parent item refer to the same persistent object. For
      now, assume that the same object should only appear once
      per parent. In the future, other phrase information should
      be used to discriminate phrases.
      
      This fixes the issue where the associated-entity list would
      be cleared immediately after an operation ran -- not because
      the operation removed existing objects, but because new phrases
      were constructed that did not match the old phrase (causing a
      removal and insertion of the same object, which reset the map
      used to hold selected objects).
      ad5260a7
    • David Thompson's avatar
      Signal more changes to the attribute system... · 1446635f
      David Thompson authored
      ... to keep resource tree and component list views up to date.
      1446635f
    • David Thompson's avatar
      Add a second "dummy" operation for the attribute system. · b9f1896c
      David Thompson authored
      This operation is used to signal when attributes (not resources)
      are created, or expunged.
      b9f1896c
    • David Thompson's avatar
      Fix updates to ComponentPhraseModel. · 14e7e340
      David Thompson authored
      Handle the case when descriptive phrases belonging to the
      same parent item refer to the same persistent object. For
      now, assume that the same object should only appear once
      per parent. In the future, other phrase information should
      be used to discriminate phrases.
      
      This fixes the issue where the associated-entity list would
      be cleared immediately after an operation ran -- not because
      the operation removed existing objects, but because new phrases
      were constructed that did not match the old phrase (causing a
      removal and insertion of the same object, which reset the map
      used to hold selected objects).
      14e7e340
    • T.J. Corona's avatar
      efce5258
  2. 11 Jan, 2019 2 commits
  3. 10 Jan, 2019 11 commits
  4. 09 Jan, 2019 7 commits
  5. 08 Jan, 2019 4 commits
  6. 07 Jan, 2019 1 commit
  7. 06 Jan, 2019 1 commit
  8. 04 Jan, 2019 1 commit
  9. 03 Jan, 2019 1 commit
  10. 01 Jan, 2019 1 commit
  11. 31 Dec, 2018 2 commits
    • T.J. Corona's avatar
      qtUIManager: contrast text box colors with text color · 5172c4b1
      T.J. Corona authored
      The default colors defined in smtk::attribute::Definition presuppose the
      use of a dark font. This method tests the font lightness and, if the font
      color is light, it adapts the input color to contrast with it.
      
      TODO: We may not want to define color in smtk::core. Instead, we may want
            to use Qt's convention of naming entities within a color palette
            rather than hard-coding colors; these descriptions should also live
            in the smtk::extensions::qt library, where they are used.
      5172c4b1
    • T.J. Corona's avatar
  12. 28 Dec, 2018 2 commits
    • John Tourtellott's avatar
      ffc4f873
    • David Thompson's avatar
      Add an example session and fix several issues. · 2ed0955b
      David Thompson authored
      + Fix style.
          + No tabs are allowed.
          + Only compiler/system headers should use leading underscores in macros.
          + Eliminate unused class-static member.
          + Eliminate warnings.
      + Fix crashes.
          + When destroying the widget for an operation/attribute whose
            qtReferenceItem that had never popped open its drop-down editor,
            a "hide" event was being sent to the widget even though it was
            not visible. Ignore it to avoid a crash.
      + Fix resource phrase to report filename w/o directory.
        If no directory is provided (only a filename), then
        report the current working directory, which is where the
        file will be saved.
      + Fix `smtk:attribute::Attribute::associatedObjects()`.
        This fixes a bad dynamic pointer cast so that persistent
        objects associated to an attribute can be extracted into
        a provided container type.
      + Add a way to query mtime to the VTK aux geom extension.
        This is used by the oscillator to decide when to refresh
        its custom auxiliary geometry's tessellation.
      + Ignore ParaView/Catalyst server connections.
      2ed0955b