Commit graph

23 commits

Author SHA1 Message Date
Fabien Castan
5ccbfe408a
Merge pull request #2221 from alicevision/dev/clearImagesGallery
[ui] ImageGallery: Add "Remove All Images" menu to clear all images
2023-10-11 19:45:46 +02:00
Candice Bentéjac
557a5bd956 [ui] ImageGallery: Use commands to set SfM attributes through the gallery
Prior to this commit, the `StructureFromMotion` and `SfMTransform` nodes'
were directly set without using the dedicated command. This meant that
the actions to set those attributes through the Image Gallery menu were
not added to the stack of commands, and could not be undone.
2023-10-10 15:13:17 +02:00
Candice Bentéjac
d2dc78dd5a [ui] ImageGallery: Add "Remove All Images" menu to clear all images
In addition to the existing "Remove" menu action in the Image Gallery that
deletes the currently selected image, add a "Remove All Images" menu
action that performs the same action as "Clear Images" from the "File"
menu.

The "Del" key was used as a shortcut to remove the currently selected
image when the Image Gallery has the focus, "Shift+Del" can now also be
used to remove all the images at once.
2023-10-09 18:54:06 +02:00
Candice Bentéjac
9b5dd40b02 [qml] Qt5.15: Upgrade all QtQuick modules 2023-07-03 12:11:29 +02:00
Candice Bentéjac
790ede0b89 [ui] ImageGallery: Add an option in the menu to set the SfM initial pair
Add a "SfM: Define Initial Pair" sub-menu in the Image Gallery menu that is
only enabled if the currently active group contains a StructureFromMotion
node. Clicking "A" or "B" will automatically set the selected image's view
ID as a part of the initial pair.
2023-03-15 16:19:45 +01:00
Loïc Vital
b4851d7a50 [ui] thumbnail request: stop timer after 1st trigger to avoid running endlessly in background 2023-02-15 09:39:47 +01:00
Fabien Castan
db8d00e901 [ui] ImageGallery thumbnails: no need for caching and expensive smooth resizing 2023-02-08 21:50:04 +01:00
Fabien Castan
db8b3873e3 [ui] ImageGallery: do not reduce thumbnail resolution
As we rely on the thumbnails cache, the images are already downscaled at
a small resolution. So there is no more need to force a max resolution
on the Qml Image.
2023-02-08 18:20:54 +01:00
mugulmd
9b0be36278 [ui] improve thumbnails quality 2023-01-26 05:10:35 -08:00
mugulmd
2f72f9e7d1 [ui] ImageDelegate: increase thumbnail timer to 5s 2023-01-23 06:28:30 -08:00
mugulmd
ae3184decc [ui] send thumbnail request with timer to avoid deadlocks 2023-01-17 07:00:17 -08:00
mugulmd
80174e22af [ui] ImageGallery: faster thumbnail dispatch using caller ID 2023-01-16 06:21:48 -08:00
mugulmd
a2e6a68811 [ui] ImageDelegate: check URL is not empty instead of OS call 2023-01-16 03:17:56 -08:00
mugulmd
88c85e9496 [ui] thumbnail busy indicator when loading 2023-01-10 00:31:50 -08:00
mugulmd
af2c9c0fd3 [ui] dispatch thumbnail creation signal from grid 2023-01-09 06:21:10 -08:00
mugulmd
60c8e779d5 [ui] create thumbnails asynchronously 2023-01-09 05:52:16 -08:00
mugulmd
ff6358ea07 [ui] new Thumbnail disk cache 2023-01-05 07:01:54 -08: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
Fabien Castan
ec67c772fa [ui] new generic way to manage "active" nodes per node type 2020-07-07 22:05:53 +02:00
Fabien Castan
b777f5ffc8 [ui] ImageGallery: add an entry in the menu to define the selected view as the center image 2020-06-30 22:10:11 +02:00
Yann Lanthony
d2d8090b5b [ui] ImageGallery: add menu + advanced option to show view IDs 2019-01-22 17:53:09 +01:00
Yann Lanthony
663a5d679d [ui] ImageGallery: introduce IntrinsicsIndicator
New IntrinsicsIndicator component that displays the initialization mode of each Viewpoint's intrinsic with explanatory tooltip.
2019-01-22 15:57:30 +01:00
Yann Lanthony
c595d8d664 [ui] move ImageGallery into a dedicated module 2019-01-21 10:55:17 +01:00
Renamed from meshroom/ui/qml/ImageDelegate.qml (Browse further)