20 lines · 408 B · Text
RawDownload
import QtQuick 2.7import QtQuick.Controls 2.2 StackView {    id: stackView    anchors.fill: parent    anchors.leftMargin: 10    anchors.rightMargin: 10    anchors.topMargin: 40     signal sendToScript(var message);     NewModelDialog {        id: dialog        anchors.fill: parent        Component.onCompleted:{            dialog.sendToScript.connect(stackView.sendToScript);        }    }}