[Panorama Viewer] add grid display button function

This commit is contained in:
Landrodie 2021-01-26 11:39:29 +01:00 committed by Fabien Castan
parent fcdc6cc873
commit 2a1e6811fc
3 changed files with 6 additions and 1 deletions

View file

@ -37,6 +37,8 @@ AliceVision.PanoramaViewer {
property bool isEditable: true
property bool isHighlightable: true
property bool displayGridPano: true
onIsHighlightableChanged:{
for (var i = 0; i < repeater.model; i++) {
repeater.itemAt(i).item.onChangedHighlightState(isHighlightable);
@ -114,6 +116,7 @@ AliceVision.PanoramaViewer {
// Grid Panorama Viewer
Canvas {
id: gridPano
visible: displayGridPano
anchors.fill : parent
property int wgrid: 40
onPaint: {