美文网首页
Record one usage of 'qml signal'

Record one usage of 'qml signal'

作者: yilinUnique | 来源:发表于2019-06-26 15:18 被阅读0次

    ArMap.qml

    Rectangle{
            id: rightRect
            
            ArCanvas {
                id: arCanvas
                anchors.fill: arVideoRect.videoOutputA;
                x: arVideoRect.videoOutputA.regionOut.x;
                y: arVideoRect.videoOutputA.regionOut.y;
                width: arVideoRect.videoOutputA.regionOut.width;
                height: arVideoRect.videoOutputA.regionOut.height;
                onSavedShapes: {
                    //名称一致
                    console.log(shapeArr,"shapeArr是=====>");
                }
            }
        }
    

    ArCanvas.qml

    Canvas {
        signal savedShapes(var shapeArr);
    }
    

    相关文章

      网友评论

          本文标题:Record one usage of 'qml signal'

          本文链接:https://www.haomeiwen.com/subject/hzuccctx.html