mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-21 21:16:29 +02:00
[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
This commit is contained in:
parent
c9c24b7ff0
commit
d70c625fac
4 changed files with 323 additions and 290 deletions
|
@ -95,21 +95,12 @@ Item {
|
|||
id: imageViewerMenu
|
||||
y: parent.height
|
||||
x: -width + parent.width
|
||||
Action {
|
||||
id: useFloatImageViewerAction
|
||||
text: "Use HDR Image Viewer"
|
||||
checkable: true
|
||||
checked: false
|
||||
enabled: viewer2D.floatViewerAvailable
|
||||
|
||||
// tooltip: "Floating Point Image Viewer allows to visualize image with the full color dynamic. It is useful for HDR or RAW visualization. (Requires a plugin)"
|
||||
}
|
||||
Action {
|
||||
id: displayImageToolBarAction
|
||||
text: "Display HDR Toolbar"
|
||||
checkable: true
|
||||
checked: true
|
||||
enabled: useFloatImageViewerAction.checked
|
||||
enabled: viewer2D.useFloatImageViewer
|
||||
}
|
||||
Action {
|
||||
id: displayImagePathAction
|
||||
|
@ -124,7 +115,6 @@ Item {
|
|||
Viewer2D {
|
||||
id: viewer2D
|
||||
anchors.fill: parent
|
||||
useFloatImageViewer: useFloatImageViewerAction.checked
|
||||
|
||||
viewIn3D: root.load3DMedia
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue