mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-22 05:26:29 +02:00
[ui] add ImageMetadataView + integration in Viewer2D
* display image metadata as a sorted table view with filtering * 2DViewer: new bottom toolbar with metadata toggle + image resolution
This commit is contained in:
parent
d91601ca8e
commit
53764812bd
5 changed files with 287 additions and 10 deletions
|
@ -91,11 +91,21 @@ Item {
|
|||
Viewer2D {
|
||||
id: viewer2D
|
||||
anchors.fill: parent
|
||||
property url imageGallerySource: imageGallery.currentItemSource
|
||||
onImageGallerySourceChanged: viewer2D.source = imageGallerySource
|
||||
|
||||
Connections {
|
||||
target: imageGallery
|
||||
onCurrentItemChanged: {
|
||||
viewer2D.source = imageGallery.currentItemSource
|
||||
viewer2D.metadata = imageGallery.currentItemMetadata
|
||||
}
|
||||
}
|
||||
|
||||
DropArea {
|
||||
anchors.fill: parent
|
||||
onDropped: viewer2D.source = drop.urls[0]
|
||||
onDropped: {
|
||||
viewer2D.source = drop.urls[0]
|
||||
viewer2D.metadata = {}
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
z: -1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue