1. 12 Jan, 2019 2 commits
  2. 10 Jan, 2019 5 commits
  3. 09 Jan, 2019 5 commits
    • David Thompson's avatar
      Mark resources as modified in the resource-tree view. · 301992f9
      David Thompson authored
      This includes changes to force attribute editing to cause
      their resources to be updated by having the Qt-based editors
      invoke a dummy operation that can be handled by PhraseModel
    • T.J. Corona's avatar
    • T.J. Corona's avatar
      Save attributes as json files · 4251a8c1
      T.J. Corona authored
    • Bob Obara's avatar
      BUG: Fixing IsUnique Logic · 39b507fa
      Bob Obara authored
      The main problem was that all Definitions by default were marked isUnique.  This has now been changed to not be the case.  Note this did not effect saved attribute files since the value of isUnique was always being saved and never assumed.
      This change exposed a bug in attribute::Resource findUniqueBaseDefinition method which would always return the definition passed into it as Unique (even when it wasn't) as long as it didn't have a Base Definition.  This has been fixed
      This commit also removed the exchange mechanism on the qt Associate Widget (since no one was using it and it prevented the ability to do extended selection).  Extended selection on both the Current and Available List have now been added.
    • David Thompson's avatar
      Rename widget to make test XML legible. · 19613b60
      David Thompson authored
  4. 08 Jan, 2019 1 commit
    • David Thompson's avatar
      Fix query operation for qtModelEntityAttributeView. · babef3c8
      David Thompson authored
      Do not attempt to decode the search string into a bit vector
      and back again; if the conversion back to a string had been
      done with `flagToSpecifierString()` instead of `flagSummary()`,
      it would have worked for auxiliary surfaces, but instead we
      should just avoid converting at all; that will make the view
      proof against future changes to the query string format.
      This also adds `*` as a valid model-entity specifier string
      (to mean the same as `any`).
  5. 07 Jan, 2019 1 commit
  6. 06 Jan, 2019 1 commit
  7. 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.
    • T.J. Corona's avatar
  8. 28 Dec, 2018 3 commits
    • 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.
    • John Tourtellott's avatar
      Simplify project manager logic and fix issues · ae64e33b
      John Tourtellott authored
      Mostly to work with pending project manager plugin.
      * Adds smtk::project::Manager to paraview/smtk wrapper classes
      * Updates smtk::attribute::Read operator to set resource location
        (which fixes label in resource-panel display)
      * Adds interim logic for project-export
    • T.J. Corona's avatar
      Selection icons: use gray instead of black · ccdb4a21
      T.J. Corona authored
  9. 27 Dec, 2018 4 commits
  10. 21 Dec, 2018 5 commits
  11. 20 Dec, 2018 1 commit
  12. 18 Dec, 2018 1 commit
  13. 17 Dec, 2018 3 commits
    • David Thompson's avatar
      Turn off asynchronous SMTK operations. · bc3d89ff
      David Thompson authored
      This causes problems with observers running in non-GUI threads
      calling Qt code.
    • David Thompson's avatar
      Make qtResourceBrowser more useful as a standalone widget. · 51d82b42
      David Thompson authored
      + Allow a subclassed qtDescriptivePhraseModel instance to be passed to
        its constructor.
      + Make the ParaView-specific visibility decorator available for other
        ParaView plugins to use.
      + Expose the qtResourceBrowser's QTreeView.
      + Move most of pqSMTKResourcePanel into qtResourceBrowser (Qt parts) and
        pqSMTKResourceBrowser (ParaView parts).
        This will allow easier customization, and particularly
        allows people to use the widget without it being central to
        a dock widget, making it simpler to configure components in
        the widget that are needed at construction time.
      + Also, make pqSMTKResourcePanel::Internal::m_phraseModel point to
        the base class (PhraseModel) rather than the particular subclass
        we use (ResourcePhraseModel).
      + Better nullptr testing to prevent crashes when invalid QModelIndex values
        are used.
      + Test whether the model passed to qtDescriptivePhraseDelegate::editorEvent
        is a QAbstractItemModel such as QSortFilterProxyModel; if it is, then map
        the index.
      + Store descriptive phrase pointers in QVariants and provide a way to
        obtain phrase pointers from a QModelIndex without access to the
        underlying QAbstractItemModel.
        This allows clean separation between our QAbstractItemModel subclass
        and classes that consume its QModelIndex instances.
        The separation makes it possible to pass a QAbstractProxyModel to
        use instead of a qtDescriptivePhraseModel so that searching can
        be exposed in the GUI.
    • T.J. Corona's avatar
  14. 14 Dec, 2018 1 commit
  15. 11 Dec, 2018 1 commit
  16. 07 Dec, 2018 4 commits