Commit graph

26 commits

Author SHA1 Message Date
Yann Lanthony
b6e4876494 [ui] move Panel to Controls module 2018-12-20 11:17:23 +01:00
Yann Lanthony
a93976451b [ui] ImageGallery: use MaterialLabel for image status
* wrap them into Loaders
2018-08-06 10:50:29 +02:00
Fabien Castan
51995f47e4 [ui] ImageGallery: display metadata and lens status flag 2018-08-05 20:44:02 +02:00
Fabien Castan
2480c22bf2 [ui] display number of reconstructed cameras 2018-07-16 23:15:00 +02:00
Yann Lanthony
df1dc2bab6 [ui] ImageGallery: improve synced selection with 3D view
Fix synchronization with 3D camera selection when the corresponding image has not been instantiated in ImageGallery (outside visible viewport).

* SortFilterDelegateModel: add "find" method
* ImageGallery
    * move passive selection logic out of the Delegate as it's created only when visible in the GridView
    * use SortFilterDelegateModel.find to get item index based on selected "viewId" and set GridView's currentIndex
2018-05-28 16:14:28 +02:00
Yann Lanthony
c606c1d3e2 [ui] ImageGallery: fix 'readOnly' behavior
* properly propagate readOnly state + disable high-level modifications on ImageGallery when graph is being computed
* tweak ImageGallery initial width
2018-05-28 16:04:45 +02:00
Yann Lanthony
2f2390e465 [ui] fix Palette propagation
* bugfix: in latest PySide2 versions, application palette is not properly applied to all QtQuick Controls 2 components. Force this by exposing QApplication palette and bind it to the root ApplicationWindow.
* rename all "palette" ids to "activePalette" to avoid clashes with "palette" property on QtQuick Controls 2
* use parent component palette when it makes sense to propagate active/disabled style (instead of always using Active SystemPalette)
2018-05-28 15:30:09 +02:00
Yann Lanthony
1634555bf0 [ui] replace anchors by alignments inside Layouts 2018-05-03 16:52:00 +02:00
Yann Lanthony
f87024b0c5 [ui] highlight selected view in 3D + 3D picking
Spawn a cube on each camera to display which one is selected + allow picking from the 3D view
2018-04-21 13:14:29 +02:00
Yann Lanthony
014c1fe25f [ui] specify keys for DropAreas 2018-04-13 22:48:46 +02:00
Yann Lanthony
450f800fef [ui] allow SfM augmentation when providing new images
* create two separate drop areas when adding images to the project (add images / augment reconstruction)
* add sfm augmentation in graph after intrinsics have been built
2018-03-21 15:53:34 +01:00
Yann Lanthony
1134aad2d8 [ui] ImageGallery: sort ImageDelegates based on image file's basename 2018-02-16 13:38:49 +01:00
Yann Lanthony
53764812bd [ui] add ImageMetadataView + integration in Viewer2D
* display image metadata as a sorted table view with filtering  
* 2DViewer: new bottom toolbar with metadata toggle + image resolution
2018-02-15 16:10:25 +01:00
Yann Lanthony
3965be049b [ui] improve performance on image reconstruction status
*  look-up in views/poses (exposed as QVariant) on QML side is not efficient
*  move this logic to the Python side and expose it as dedicated slots
2018-01-25 12:52:11 +01:00
Yann Lanthony
59bbf14f14 [ui] fix missing fontFamily on Label 2018-01-19 18:42:10 +01:00
Yann Lanthony
95649ebcfd [ui] ImageGallery: remove images on Delete key press 2018-01-15 21:46:37 +01:00
Yann Lanthony
c53c0ae8d2 [ui] display reconstruction status on Images
* add the notion of a current SfM node in the Reconstruction
* retrieve views and poses from this node when selected or when its status changes
* use this information to display a status on Images in ImageGallery
2018-01-15 21:45:15 +01:00
Yann Lanthony
273cfd9f0e [ui] handle multiple CameraInit nodes in a Reconstruction
* [ui] ImageGallery: add control to navigate image groups
* [graph] expose Node.attribute as a Slot
2018-01-15 14:33:27 +01:00
Yann Lanthony
31b9381965 [ui] ImageGallery: fix typo 2017-12-14 19:25:34 +01:00
Yann Lanthony
0a61fe2843 [ui] ImageGallery: extract current Viewpoint metadata
convert metadata as a JSON object and expose it as a property for outside use
2017-12-14 19:23:39 +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
298526adcb [ui] improve ImageGallery
* new footer that displays the number of images / allow to change thumbnail size
* smaller sourceSize for thumbnails (faster to load)
* avoid Nan scales in Viewer2D when no image is loaded
2017-11-28 22:35:38 +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
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
4ca43028d8 [ui] add 3D viewer to ImageGallery
TODO: change Component's name
2017-11-17 19:19:49 +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