Skip to content

Allow to "bulk edit" variables on loading sessions or actors, refactored related UI classes

Christoph Fischer requested to merge devel_issue_383 into master

This MR contains:

  • Fixes #383 (closed): Allow to bulk edit variables. When loading a session file or loading an actor file where the variables in the settings file are not present in the system, open a dialog where the user can easily map the variables in the configuration files to variables loaded in the system. These can be mapped either by dragging variables from the bottom table table to the top table, or by selecting an existing variable and clicking on the arrow icon in the upper table.
  • Since the bottom table is the same table as the one used when adding actor variables to MNWPMultiVarActors, this table has been refactored into its own class to be reused for both use cases.
  • Also, selecting data sources (for trajectories and for synchronization) and selecting variables was handled by the same dialog, while the tables have different functionalities. These have been refactored into separate table/dialog classes as well.

Merge request reports