use semantic field in file attributes to specify images and store displayed node in 2D viewer to adapt UI

This commit is contained in:
Loïc Vital 2022-09-20 18:26:20 +02:00 committed by Fabien Castan
parent fc5ab540f5
commit a574c0fc9b
9 changed files with 139 additions and 83 deletions

View file

@ -148,14 +148,6 @@ Item {
viewIn3D: root.load3DMedia
Connections {
target: imageGallery
onCurrentItemChanged: {
viewer2D.source = imageGallery.currentItemSource
viewer2D.metadata = imageGallery.currentItemMetadata
}
}
DropArea {
anchors.fill: parent
keys: ["text/uri-list"]