[Panorama Viewer] add Panorama Viewer toolbar

Add two icons in material icons
Update icon of viewer
Add downscale value as spinbox
Add 3 buttons for options in viewer
This commit is contained in:
Landrodie 2021-01-25 15:33:54 +01:00 committed by Fabien Castan
parent 5aa54abd96
commit e7941ef75e
4 changed files with 122 additions and 1 deletions

View file

@ -186,6 +186,13 @@ FocusScope {
Layout.fillWidth: true
}
PanoramaToolbar {
id: panoramaViewerToolbar
anchors.margins: 0
visible: displayPanoramaToolBarAction.checked && displayPanoramaToolBarAction.enabled
Layout.fillWidth: true
}
// Image
Item {
id: imgLayout
@ -700,7 +707,7 @@ FocusScope {
property bool isComputed: activeNode && activeNode.isComputed
ToolTip.text: "Panorama Viewer"
text: MaterialIcons.panorama_wide_angle
text: MaterialIcons.panorama_sphere
font.pointSize: 16
padding: 0
Layout.minimumWidth: 0