mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-03 03:11:56 +02:00
[ui] Viewer2D: minor adjustments
* more explicit variable name for hdrImageToolbar * adjust padding, so the viewer2D.bottomToolbar is aligned with the ImageGallery toolbar * update tooltip for HDR image viewer
This commit is contained in:
parent
d70c625fac
commit
540c0d1744
1 changed files with 6 additions and 5 deletions
|
@ -101,7 +101,7 @@ FocusScope {
|
|||
anchors.fill: parent
|
||||
|
||||
ImageToolbar {
|
||||
id: imageToolbar
|
||||
id: hdrImageToolbar
|
||||
anchors.margins: 0
|
||||
visible: displayImageToolBarAction.checked && displayImageToolBarAction.enabled
|
||||
Layout.fillWidth: true
|
||||
|
@ -158,9 +158,9 @@ FocusScope {
|
|||
// floatViewerComp.createObject(floatImageViewerLoader, {
|
||||
setSource("FloatImage.qml", {
|
||||
'source': Qt.binding(function() { return getImageFile(imageType.type); }),
|
||||
'gamma': Qt.binding(function() { return imageToolbar.gammaValue; }),
|
||||
'offset': Qt.binding(function() { return imageToolbar.offsetValue; }),
|
||||
'channelModeString': Qt.binding(function() { return imageToolbar.channelModeValue; }),
|
||||
'gamma': Qt.binding(function() { return hdrImageToolbar.gammaValue; }),
|
||||
'offset': Qt.binding(function() { return hdrImageToolbar.offsetValue; }),
|
||||
'channelModeString': Qt.binding(function() { return hdrImageToolbar.channelModeValue; }),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@ -315,6 +315,7 @@ FocusScope {
|
|||
}
|
||||
FloatingPane {
|
||||
id: bottomToolbar
|
||||
padding: 4
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: childrenRect.height
|
||||
|
||||
|
@ -337,7 +338,7 @@ FocusScope {
|
|||
id: displayHDR
|
||||
font.pointSize: 20
|
||||
padding: 0
|
||||
ToolTip.text: "HDR Floating Point Viewer"
|
||||
ToolTip.text: "High-Dynamic-Range Image Viewer"
|
||||
text: MaterialIcons.hdr_on
|
||||
checkable: true
|
||||
checked: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue