Commit graph

70 commits

Author SHA1 Message Date
Abdelrahman AL MAROUK
da671056bf [UI] fix resize of horizontal splitview
When dragging the border between 3D Viewer and 2D Viewer:
- previous behaviour: the Image Gallery is resized instead of
the 2D Viewer
- new behaviour: the 2D Viewer is resized
2023-08-18 10:56:22 +02:00
Loïc Vital
0e8c8ca8a7 [ui] sequence player: checkbox to show or hide sequence player widget 2023-07-12 09:13:52 +02:00
Candice Bentéjac
8c494198e0 [qml] Qt5.15: Update syntax for slots
Slots now need to be written as function; the previous syntax is
deprecated.
2023-07-03 12:11:33 +02:00
Candice Bentéjac
9b5dd40b02 [qml] Qt5.15: Upgrade all QtQuick modules 2023-07-03 12:11:29 +02:00
Candice Bentéjac
e8990a6fc7 [ui] ImageGallery: Reset viewpoints and intrinsics when removing the last image
When the last image from the active group has been manually removed from
the Image Gallery (meaning it has been removed either with the "Del" key
or the "Remove" option), the list of viewpoints and intrinsics should
both be reset, like they are when "Clear Images" is used.

Prior to this commit, the list of viewpoints was emptied (but not reset)
and the list of intrinsics remained untouched. Removing all the images
manually did not affect the list of intrinsics, which could cause issues
later on.
2023-05-30 12:20:54 +02:00
Candice Bentéjac
5638cf3a75 [ui] "Import Images" dialog: Use opened project's images folder as the base folder
If a project has already been opened before the "Import Images" dialog
is opened for the first time, and if the opened project has imported
images, use the location of these images' folder as the base folder for
the "Import Images" dialog.

If the opened project has no imported images, the base folder will remain
identical to the other dialogs' until images are imported.
2023-01-16 15:10:27 +01:00
Fabien Castan
27ce3df5cb
Merge pull request #1852 from alicevision/mug/improveLoadDepthMap3D
[ui] Load 3D Depth Map: minor improvements
2023-01-04 12:28:17 +01:00
mugulmd
a3d289f046 [ui] use env var MESHROOM_USE_8BIT_VIEWER as default value for enabling 8bit viewer 2023-01-03 05:41:21 -08:00
mugulmd
c21bbd307c [ui] check box in 2D viewer header bar to enable/disable 8bit viewer 2023-01-03 05:29:54 -08:00
Loïc Vital
935a8a2568 [ui] load 3D depth map: custom label in 3D inspector 2022-12-20 12:31:36 +01:00
Candice Bentéjac
02383c68b3 [ui] Check that objects accessed by QML properties are not null before accessing them
Some QML properties access exposed Python objects that may or may not
be null upon their access. When these objects are accessed while null,
QML issues "TypeError" warnings. These warnings have no functional
impact as QML correctly handles trying to access null objects, but can
spam the logs.

This commit aims at fixing all these warnings by checking that the
Python objects are not null before being accessed.
2022-12-06 11:04:50 +01:00
Loïc Vital
88e822a9de [ui] fix drag and drop external images on Viewer2D 2022-10-19 09:50:19 +01:00
Loïc Vital
a574c0fc9b use semantic field in file attributes to specify images and store displayed node in 2D viewer to adapt UI 2022-10-19 09:50:08 +01:00
luz paz
f4dcf6557f Fix various typos in the source code
## Description
Fix various typos in the source code. This includes user facing code, documentation, and source comments. This PR has not been tested.
Closes #1605
2022-01-22 07:39:05 -05:00
Fabien Castan
dedc5b4499 [ui] 3DViewer: use a Loader to completely disable the 3D environment 2021-10-19 15:17:54 +02:00
Fabien Castan
0f95188962 [ui] widgets visibility options 2021-10-05 17:45:15 +02:00
Landrodie
dadb875484 [Panorama Viewer] add mouse speed multiplier 2021-09-14 18:07:00 +02:00
Landrodie
508775c061 [Panorama Viewer] add Panorama Viewer toolbar
Add two icons in material icons
Update icon of viewer
Add downscale value as spinbox
Add 3 buttons for options in viewer
2021-09-14 18:06:56 +02:00
Landrodie
c9f0ab0d16 [Lens Distortion] fix translation mistake
Fixing a mistake mixing English and French.
Distortion is English and distorsion French
2021-09-14 18:06:42 +02:00
Landrodie
cd97601fc3 [Lens Distorsion] Renaming PanoramaViewer into Lens Distorsion 2021-09-14 18:06:41 +02:00
Landrodie
6a152ca69a [PanoramaViewer] add panorama toolbar 2021-09-14 18:06:38 +02:00
Fabien Castan
da1f23963a [ui] ImageGallery: fix sort and filtering
Keep a valid index when changing the type of view
2021-09-01 19:06:34 +02:00
Fabien Castan
bac6ffe8f2 [ui] WorkspaceView: use activeNodes for sfm 2020-07-25 18:27:33 +02:00
Fabien Castan
ec67c772fa [ui] new generic way to manage "active" nodes per node type 2020-07-07 22:05:53 +02:00
Theo
4f5a2eda6f [ui] Viewer2D: expose loading status on Image Viewer Panel 2020-05-14 14:07:23 +02:00
Fabien Castan
19d2f90554 [ui] ImageGallery: allow to visualize the list of HDR images created by LDRToHDR
Conflicts:
	meshroom/ui/reconstruction.py
2020-03-10 12:33:36 +01:00
Fabien Castan
c9061f3fec [ui] Viewer2D: improve toolbar alignment/spacing
Conflicts:
	meshroom/ui/qml/Viewer/Viewer2D.qml
2020-03-10 12:10:56 +01:00
Fabien Castan
d70c625fac [ui] Viewer2D: refactoring to simplify layouts
* fix mousearea order
* add alpha backgroud
* move HDR as a tool button

Conflicts:
	meshroom/ui/qml/Viewer/CircleGizmo.qml
	meshroom/ui/qml/Viewer/Viewer2D.qml
2020-03-10 12:08:14 +01:00
Fabien Castan
a4b42b3347 [ui] Viewer2D: disable menu when the plugin is not available 2020-03-03 17:41:03 +01:00
Fabien Castan
69ca95a590 [ui] Viewer2D: update wording in menu to "HDR Image Viewer" 2020-03-03 17:40:12 +01:00
Fabien Castan
302aaabd60 [ui] Viewer2D: add color picker to floating point image toolbar 2020-03-03 11:07:19 +01:00
Grégoire De Lillo
7a2fca185b [ui] Viewer2D : Add a FloatImageViewer and an ImageToolbar
Use an ImageViewerWrapper to handle the `FloatImageViewer` or the standard one.
2020-02-28 12:34:19 +01:00
Fabien Castan
18ab1d1793 [ui] Viewer: update min values 2020-01-27 13:16:25 +01:00
ChemicalXandco
4ddd25fb73 use getImageFile function to set image source 2020-01-27 13:16:22 +01:00
ChemicalXandco
b2db142cc2 add button on 2D Viewer to view depth maps in the 3D Viewer 2020-01-27 13:16:21 +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
Yann Lanthony
1c873508ef
[ui] Inspector3D: double click on media now sets node as "active"
To be consistent with the Graph Editor behavior, double clicking on a node sets it as the active node of its type. This, for example, enables to switch from one SfM to another from the media list.
2019-09-11 10:49:09 +02:00
Yann Lanthony
312b9f5e0b
[ui] Inspector3D: provide camera from Viewer3D 2019-09-11 10:09:27 +02:00
Yann Lanthony
774675bd65
[ui] Viewer3D: move Inspector3D outside Viewer3D
Inspector3D is not an overlay anymore to simplify 3D manipulations, by having view center at the center of the 3D view.
2019-09-10 19:28:14 +02:00
Yann Lanthony
00857a7a88
[ui] Reconstruction: rename 'endNode' to 'texturing'
+ use makeProperty helper
2019-06-27 18:29:33 +02:00
Yann Lanthony
c595d8d664 [ui] move ImageGallery into a dedicated module 2019-01-21 10:55:17 +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
b6e4876494 [ui] move Panel to Controls module 2018-12-20 11:17:23 +01:00
Yann Lanthony
66943922d8 [ui] Viewer3D: clean "Load Model" handling
move related properties to the button responsible for loading the end node when a result is available
2018-12-10 15:13:26 +01:00
Yann Lanthony
2f307c16fb [ui] Viewer3D: synchronize media list and graph hover/selection
* ease bidirectional navigation between 3D media list and graph
* use same mechanism to indicate selected/hovered elements
* remove 'frame' button (space gain + action available on double click)
2018-12-07 16:07:42 +01:00
Yann Lanthony
e9682a8ce9 [ui] Viewer3D: load all urls from an external file drop 2018-12-07 16:07:41 +01:00
Yann Lanthony
97fcdf67bf [ui] Viewer3D: multi 3D media support
* use new media loading backend through MediaLibrary
* Inspector3D: new overlay UI that displays and allows to manipulate MediaLibrary content
2018-12-07 16:07:41 +01:00
Yann Lanthony
7a8e1c689f [ui] Reconstruction: expose end node instead of mesh filepath
In preparation for massive Viewer3D refactoring.
2018-11-23 20:20:08 +01:00
Yann Lanthony
7415c1d391 [ui] split 2D and 3D viewers into separate modules
+ remove historical MayaCameraController
2018-11-23 14:26:57 +01: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