Add category selection dialog

  • Add the importcategory class to handle the import categories
  • Limit the category and template names to alpha-numerical + [_-. ]
  • Convert all windows to modal dialogs for window placement (As a bonus we don't need any custom esc-handling)
  • Exporting is always a directory -> add full folder in error message
  • Use raw pointer for Template to get modal dialog with dialog-parent (Mixing QWidget-parent and unique_ptr ownership might fail)
  • Do not overload QDialog signal done(int) -> rename to templateCopied

@sahilvermaiiitmg do you want to have a look?

Edited by Kåre Särs

Merge request reports

Loading