add book
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
// 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
|
||||
}
|
||||
*/
|
||||
}
|
||||
Reference in New Issue
Block a user