Commit graph

70 commits

Author SHA1 Message Date
Yann Lanthony
a26a3f9af5 [ui] GraphEditor: add node creation menu
* expose node types model as context property
* right clicking on an empty space inside the Graph Editor opens Node Creation menu with all available node types
2017-12-18 19:46:45 +01:00
Yann Lanthony
8d8bf0be5e [ui] better UI Components split + improvements
* add WorkspaceView that contains Meshroom main modules (ImageGallery, 2D/3D viewer)
* add Panel component to standardize UI modules layout
* ImageGallery: 
  * add images basename on image delegates
  * add explanatory placeholder when no image has been added to the reconstruction yet
2017-12-14 19:11:52 +01:00
Yann Lanthony
886ded7f19 [ui] create GraphEditor module 2017-12-12 17:47:27 +01:00
Yann Lanthony
1663b86542 [ui] ensure no local computation is in progress before closing Meshroom 2017-11-30 21:28:15 +01:00
Yann Lanthony
03ca18c312 [ui] improve Viewer3D
* add Rotation/Scale controls
* add controls to disable default items (grid/locator)
* add drop support to load external 3D models
* add "View All" action in contextual menu to fit to scene
* automatically propose to load the reconstructed mesh when available
2017-11-28 22:35:20 +01:00
Yann Lanthony
fd5da4fa48 [ui] add global progress bar to follow graph computation
Use dfs-sorted NodeChunks to reflect this progression
2017-11-28 22:19:32 +01:00
Yann Lanthony
47d88f8635 [ui] handle graph submission
* add button to submit the graph to the default submitter
* add warning message when the graph is being computed in another meshroom instance
* make Start button green
2017-11-28 22:18:44 +01:00
Yann Lanthony
ce1b416f2d [ui] set default font point size to 9 2017-11-28 20:22:49 +01:00
Yann Lanthony
3f9fcbd2a8 [ui] improve AttributeEditor
* add header with select node type
* ToolButton with advanced controls (cache directory, clear submitted status)
* tweak spacing/layout
2017-11-28 15:11:14 +01:00
Yann Lanthony
fccaa9d186 [ui] ImageGallery: add contextual menu + readOnly mode
* contextMenu: open image containing folder / remove image
* readOnly: disable image removing when graph is being computed
2017-11-28 11:16:53 +01:00
Yann Lanthony
f6a1ee23d2 [ui] disable Undo/Redo when graph is being computed 2017-11-28 11:05:56 +01:00
Yann Lanthony
d2c26c3c84 [ui] GraphEditor: add readOnly mode
* disable node/edge edition
* make GraphEditor readOnly when graph is being computed
2017-11-28 11:05:05 +01:00
Yann Lanthony
826c6caa07 [ui] add readOnly property on AttributeEditor
* setting readOnly to 'true' disable editing on AttributeItemDelegate components
* use this property instead of disabling the whole AttributeEditor when graph is being computed
2017-11-24 17:43:25 +01:00
Yann Lanthony
0e08291f8a [ui] introduce UIGraph + ChunksMonitor
* extract UIGraph from Reconstruction: base class that wraps a core.Graph, without knowledge of photogrammetry pipeline
* ChunksMonitor: watch NodeChunks status files for external changes to keep UI updated even when the graph is being computed externally
* Reconstruction inherits UIGraph with photogrammetry specific features
2017-11-24 17:20:13 +01:00
Yann Lanthony
a68dc53942 [ui] move Start/Stop button outside the GraphEditor 2017-11-17 19:22:12 +01:00
Yann Lanthony
83c6d68954 [ui] add palette variation for dark theme
Crtl+Shift+P allows to toggle between light and dark theme on the fly
2017-11-17 17:40:27 +01:00
Yann Lanthony
c190f418b7 [ui] wip: add ImageGallery + Viewer2D to main layout
* ImageGallery displays images from CameraInit.viewpoints
* support drag&drop of images
* Viewer2D displays and allows basic manipulation of currently selected image
2017-11-14 18:14:44 +01:00
Yann Lanthony
00366cda00 [ui] introduce first functional UI with a graph editor
First functional UI that allows to visualize, modify and execute a graph locally.
* use QtQuick Controls 2 + Shapes (Qt >=5.10)
* main menu to save/load a graph
2017-10-31 16:54:16 +01:00
Yann Lanthony
e17d0ea240 [commands] expose and use more UndoStack properties 2017-10-02 15:10:04 +02:00
Yann Lanthony
48941a5782 [ui] first basic debugging UI + elementary commands
* nodes as a ListView (right click to delete a node)
* editable attributes 
* undo/redo for adding/removing nodes and attribute edition
2017-09-25 20:18:27 +02:00