[ui] add "New Pipeline" submenu

This commit is contained in:
Fabien Castan 2020-03-05 11:53:27 +01:00
parent c9061f3fec
commit 089289beae
2 changed files with 17 additions and 4 deletions

View file

@ -314,6 +314,17 @@ ApplicationWindow {
shortcut: "Ctrl+N"
onTriggered: ensureSaved(function() { _reconstruction.new() })
}
Menu {
title: "New Pipeline"
Action {
text: "Photogrammetry"
onTriggered: ensureSaved(function() { _reconstruction.new("photogrammetry") })
}
Action {
text: "HDRI"
onTriggered: ensureSaved(function() { _reconstruction.new("hdri") })
}
}
Action {
text: "Open"
shortcut: "Ctrl+O"