Skip to content
Snippets Groups Projects

Nodal task UI arc editing

Merged David Thompson requested to merge dcthomp/smtk:node-mode into master
  1. Nov 28, 2023
    • David Thompson's avatar
    • David Thompson's avatar
      Add mode buttons to the task panel. · 6dbcdf74
      David Thompson authored
      We add "pan" mode, "select" mode, and "connect" mode.
      
      In "connect" mode, users may select a type of connection
      to create and then click nodes to connect them with an
      arc of the selected type. An instance of the new
      qtPreviewArc class is used to show users the arc to be created
      and the Escape key will abandon arc creation.
      
      Arc types are registered by providing an arc type-name to
      an operation in the `ArcCreator` operation group (a subclass
      of `smtk::operation::Group`).
      
      When nodes are moved in the the task panel, the resource
      owning the task (a project) is marked as dirty (in need of
      a "Save") by launching a MarkModified operation (a new operation).
      6dbcdf74
    • David Thompson's avatar
      Fix markup plugin. · 3f53440e
      David Thompson authored
      Some registrar and plugin dependencies were missing or wrong.
      3f53440e
    • David Thompson's avatar
      cfd8e8d9
    • David Thompson's avatar
      Prevent cycles of task dependencies. · 7e1c81d6
      David Thompson authored
      7e1c81d6
    • David Thompson's avatar
      Fix XML tests. · bb4c4095
      David Thompson authored
      The task panel changes in the next commits cause ParaView to shrink
      its central widget (the 3-d view capture for image tests) to below
      even the minimal 300x300 size used for testing. Hide the task panel
      so the test images are rendered properly.
      bb4c4095
    • David Thompson's avatar
      46e0765d
    • David Thompson's avatar
      Fix windows type-name issue. · 4ea17161
      David Thompson authored
      Microsoft adds non-sensical cruft to the type-names it reports
      unlike every other platform, even including template parameters.
      Remove it thoroughly, not just when it is at the front of the
      type-name.
      
      When anonymous namespaces are involved, replace the fonky tick
      marks in "`anonymous namespace'" with open/close-parentheses
      like every other platform.
      4ea17161
Loading