Meshroom/meshroom/ui/qml
Candice Bentéjac f570b37b09 [ui] ImageGallery: Disable "Visualize HDR" button after clearing images
When all the images in the gallery are cleared using the "Clear Images" or
"Clear All Images" menu action while the "Visualize HDR images" option is
turned on, the gallery is correctly emptied and the viewer correctly reset
but the button remains turned on even though there is nothing left to show.

As it is turned on (although with a "0" count), the gallery remains in
read-only mode and no more image can be dropped until the button is
manually clicked to be turned off. Even after that, it remains clickable
instead of being disabled.

This commit ensures that the button gets disabled if the number of
viewpoints is 0 (meaning the gallery is empty). That way, the button
correctly reflects the current situation, and the gallery is ready to have
images dropped.
2023-09-04 19:00:05 +02:00
..
Charts [qml] Qt5.15: Update syntax for slots 2023-07-03 12:11:33 +02:00
Controls [qml] Qt5.15: Une new syntax for all the "onLinkActivated" slots 2023-07-04 12:04:17 +02:00
GraphEditor [ui] AttributeItemDelegate: remove redundant error icon 2023-08-21 16:46:38 +02:00
ImageGallery [ui] ImageGallery: Disable "Visualize HDR" button after clearing images 2023-09-04 19:00:05 +02:00
MaterialIcons [ui] MaterialIcons: Add the "dangerous" icon to the list of available icons 2023-08-21 16:30:11 +02:00
Utils [Utils] Do not perform type coercion in SortFilterDelegateModel 2023-07-11 16:31:41 +02:00
Viewer [ui] Viewer2D: fix JSON parse error 2023-07-12 15:34:28 +02:00
Viewer3D [qml] Optimize QML files and fix syntax warnings 2023-07-04 12:04:14 +02:00
AboutDialog.qml [qml] Qt5.15: Une new syntax for all the "onLinkActivated" slots 2023-07-04 12:04:17 +02:00
DialogsFactory.qml [qml] Qt5.15: Upgrade all QtQuick modules 2023-07-03 12:11:29 +02:00
LiveSfmView.qml [qml] Qt5.15: Upgrade all QtQuick modules 2023-07-03 12:11:29 +02:00
main.qml [qml] Qt5.15: Disable the alternative palette to support disabled elements 2023-07-04 12:10:28 +02:00
WorkspaceView.qml [UI] fix resize of horizontal splitview 2023-08-18 10:56:22 +02:00