Files
2025-09-28 17:05:51 +08:00

30 lines
553 B
QML

// Copyright (c) Daniel Gakwaya.
// SPDX-License-Identifier: MIT
import QtQuick
Window {
visible: true
width: 640
height: 480
title: qsTr("External Components with signals and slots")
Notifier{
id: notifierId
rectColor: "yellowgreen"
target: receiverId
}
Receiver {
id: receiverId
rectColor: "dodgerblue"
anchors.right: parent.right
}
/*
Component.onCompleted: {
notifierId.notify.connect(receiverId.receiveInfo)//Connect signal to slot
}
*/
}