Commit graph

140 commits

Author SHA1 Message Date
Fabien Castan
ec67c772fa [ui] new generic way to manage "active" nodes per node type 2020-07-07 22:05:53 +02:00
Fabien Castan
375070e003 [ui] main: fix openFileDialog
use fileUrl instead of file
2020-03-30 11:22:58 +02:00
Fabien Castan
7b8405c5f6 [ui] new pipeline hdriFisheye
Setup the 2 fisheye options on LDRToHDR and PanoramaInit nodes.
2020-03-20 17:57:16 +01:00
Fabien Castan
6115a81044 [ui] GraphEditor fix: Ctrl double click setup node in solo mode 2020-03-17 17:46:15 +01:00
Fabien Castan
f9477eadfc [ui] add Import Images menu 2020-03-17 15:13:19 +01:00
Fabien Castan
0e434908a5 [ui] improve open recent files
* fix path conversion on windows
* remove invalid paths from the list on error
* explicit error message for "No Such File"
2020-03-17 14:07:00 +01:00
Fabien Castan
d001cc9e73 [ui] add Open Recent Project 2020-03-10 12:50:31 +01:00
Fabien Castan
089289beae [ui] add "New Pipeline" submenu 2020-03-10 12:11:13 +01:00
Fabien Castan
f34397c170 [ui] GraphEditor: more visible refresh nodes status button 2020-03-10 12:09:37 +01:00
Fabien Castan
7d0f1ec05f [ui] fix warnings for undefined _reconstruction.graph 2020-03-10 12:09:13 +01:00
Yann Lanthony
991aca989b Merge develop into dev/nodesAndTaskManager 2020-01-24 14:54:08 +01:00
Yann Lanthony
fbfb7d6143
[ui] try to display attributes in both 2D and 3D editors 2019-12-13 17:17:03 +01:00
Fabien Castan
dbcfce7c90
[ui] WorkspaceView: open images in the 2D Viewer from the Graph/NodeEditor
Double click on a node or an attribute with an image file to display it
in the 2D viewer.
2019-12-12 18:50:18 +01:00
Fabien Castan
5f28a8f4ad
[ui] main: remove trailing commented code 2019-11-29 11:34:15 +01:00
Fabien Castan
48b11b529c
[ui] main: fix: graph can be null 2019-11-29 11:34:15 +01:00
Lee Geertsen
c128080bbb
Fix disable nodeEditor when computing nodes 2019-11-29 11:34:15 +01:00
Lee Geertsen
70509f5dd2
Delete old readOnly property on GraphEditor 2019-11-29 11:34:15 +01:00
Lee Geertsen
31c46f1704
Remove loader for GraphEditor so it isn't reset when switching tabs 2019-11-29 11:34:10 +01:00
Lee Geertsen
01974c23ec
Make Task Manager with Nodes submitted to a render farm 2019-11-29 11:34:10 +01:00
Lee Geertsen
c00db25c23
Don't lock graph and node editor while computing nodes
Add possibilty to, while computing nodes:
add more nodes to the task manager,
edit, duplicate and remove nodes without breaking the tasks that are submitted
2019-11-29 11:34:10 +01:00
Lee Geertsen
51d6c18840
Create TaskManager with a task overview
Create a seperate class to handle the logic of computing nodes
+ An UI overview with all submitted nodes
2019-11-29 11:34:10 +01:00
Yann Lanthony
f870e252b4
[ui] Reconstruction: add 'setActiveNodeOfType' method
Helper method to set a node as the active one of its type.
2019-09-11 10:49:09 +02:00
Yann Lanthony
d46ed62b05
[reconstruction] add prepareDenseScene property
keep reference to active prepareDenseScene to be able to compose paths to undistorted images
2019-09-10 18:34:39 +02:00
Fabien Castan
059ca3685f
Merge pull request #539 from alicevision/dev/featuresViewer
Features Viewer
2019-07-25 20:58:18 +02:00
Yann Lanthony
36fc7ea069
[ui] GraphEditor: add "Refresh Nodes Status" MenuItem
Enables the user to force the re-evaluation of nodes status.
2019-07-24 18:04:39 +02:00
Yann Lanthony
4435ba9e1b
[ui] Reconstruction: add 'featureExtraction' member
* add featureExtraction property to keep track of current FeatureExtraction node 
* update it when current CameraInit node is changed
* allow to set current CameraInit by double clicking on a CameraInit node from the Graph Editor
2019-06-27 18:36:10 +02:00
Yann Lanthony
28e7e64f3d [ui] show unsaved project warning dialog also when computing from GraphEditor 2019-01-30 09:48:37 +01:00
Yann Lanthony
e5e90ee1ef [ui] improve wording on "building intrinsics" modal popup
more explicit text that works both for new images import and intrinsics rebuild
2019-01-23 18:55:45 +01:00
Yann Lanthony
b5c985b3fb [ui] GraphEditor: solo 3D media with Double Click + Control modifier
* allow to solo a 3D media from the GraphEditor by double clicking on a node or an attribute with the Control modifier pressed
* consistent with Viewer3D.MediaLibrary behavior (solo on Ctrl+Click on visibility button)
* handle supported file extensions in Viewer3DSettings
2019-01-07 16:19:42 +01:00
Yann Lanthony
4541d825ad [ui] GraphEditor: consistent readOnly mode when computing
* lock edit actions when graph is being computed
* add an advanced option to control this behavior and unlock it (stored in persistent settings)
2019-01-07 15:39:47 +01:00
Yann Lanthony
34ca607261 [ui] GraphEditor : add "Clear Pending Status" tool at Graph level
* allow to clear status of all submitted nodes in the graph
* unify wording
2019-01-07 10:47:25 +01:00
Yann Lanthony
00feb46667 [ui] extract NodeEditor from AttributeEditor
* NodeEditor
    * exposes Node parameters: compatibility, attributes and logs
    * provides a placeholder when no active Node
* AttributeEditor
    * only displays the list of Attributes
    * use 'AttributeEditor' for GroupAttributes in AttributeItemDelegate
* Layout
   * move NodeEditor on the same SplitView level as GraphEditor
   * move current node name and menu to the Panel's header
2019-01-04 17:30:37 +01:00
Yann Lanthony
5b991053a8 [ui] UIGraph: add selectedNode property
move node selection management to the Python side
2018-12-07 16:07:42 +01:00
Yann Lanthony
717b4f8b37 [ui] GraphEditor: display compatible attributes in Viewer3D on double click 2018-12-07 16:07:41 +01:00
Yann Lanthony
52c99a803e [ui] ComputeUnsaved: set a more straightforward text for Discard button
avoid potentially ambiguous platform-dependent text
2018-08-09 00:11:35 +02:00
Yann Lanthony
0bcf59e4ce [ui] prompt warning when computing unsaved project
* warn the user that the data will be computed in the default cache folder
* allow to save the scene from this Dialog
* fix whitespaces in texts
2018-08-03 17:24:04 +02:00
Yann Lanthony
494cb71d3f [ui] shortcuts: add Ctrl+N for new + allow Ctrl+S for initial save 2018-08-03 17:24:04 +02:00
Yann Lanthony
30f99b01f2 [ui] MessageDialog: add presets and options
* add Info, Warning and Error presets
* add canCopy options to display/hide copy to clipboard button
* tweak paddings and font size
2018-08-03 17:24:04 +02:00
Yann Lanthony
1007c37ba4 [ui] add footer with cache folder info 2018-08-03 17:24:04 +02:00
Yann Lanthony
6581886b46 [ui] store main Window size in persisting settings 2018-08-03 17:24:04 +02:00
Yann Lanthony
3438900b2b [ui] add "About" dialog
Accessible from main menu Help > About Meshroom, or by pressing "F1". Provides info about Meshroom version + useful links and related Open Source Licenses.

* load COPYING.md from Meshroom/AliceVision files (either provided with the standalone package or online) + translate them to HTML for display  (added `markdown` package in requirements)
* request.js: centralize function to open file urls
* provide system info from MeshroomApp (exposed as contextProperty)
2018-08-03 17:24:04 +02:00
Yann Lanthony
72a657ec48 [ui] hide 'Submit' button if no submitter available 2018-08-03 17:24:04 +02:00
Yann Lanthony
94cba653d5 [ui] GraphEditor: improved ToolBar
* replace text buttons with MaterialToolButtons
* hide advanced min/max depth settings to a Settings menu
2018-07-27 19:12:55 +02:00
Yann Lanthony
c3464fa4e8 [ui] GraphEditor: trigger fit on project opening
* fit when the underlying graph has changed (new/open project)
* add 'F' shortcut to fit
* trigger fit after UI has been fully initialized (correct sizes)
2018-07-27 19:05:53 +02:00
Yann Lanthony
f415745a4a [ui] make Nodes moves undoable
Handle nodes move and auto-layout on Python side by using GraphLayout and MoveNodeCommand.

* Node QML component relies on underlying core.Node object's position
* MoveNodeCommand is called after a Node has been dragged
* partial/full auto-layout for specific graph operations (Duplication, Augmentation...) are now part of those operations
* serialized position in node data allows to properly restore nodes coordinates on undo/redo
* remove all layout/node moving code from QML
2018-07-26 22:46:22 +02:00
Yann Lanthony
93dd055f72 [clean] fix variable names and typos
* node_factory & attribute_factory to camelCase
* fix depths variable in updateNodesTopologicalData
2018-07-26 12:11:43 +02:00
Yann Lanthony
3615f641fd [ui][dialogs] improve wording
+ use MessageDialog for unsaved project dialog
2018-07-25 20:05:37 +02:00
Yann Lanthony
fd8c275203 [ui] add CompatibilityManager component
* display and allow to upgrade incompatible nodes after project loading
* add a ToolButton in main toolbar to open CompatibilityManager in case of compatibility issues
2018-07-20 17:57:53 +02:00
Yann Lanthony
5ddf138554 [ui] bind start/submit button 'enabled' property to graph computability 2018-07-19 14:50:58 +02:00
Yann Lanthony
0128cd56f0 [ui] add CompatibilityBadge on CompatibilityNodes
* add badge icon on nodes in GraphEditor
* add badge banner in AttributeEditor with upgrade button when available
2018-07-19 13:50:45 +02:00