add book
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
// Copyright (c) Daniel Gakwaya.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import QtQuick
|
||||
|
||||
Item {
|
||||
|
||||
property alias rectColor: receiverRectId.color
|
||||
width: receiverRectId.width
|
||||
height: receiverRectId.height
|
||||
|
||||
|
||||
function receiveInfo( count){
|
||||
receiverDisplayTextId.text = count
|
||||
console.log("Receiver received number: "+ count)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Rectangle {
|
||||
id: receiverRectId
|
||||
width: 200
|
||||
height: 200
|
||||
color: "blue"
|
||||
|
||||
|
||||
Text {
|
||||
id: receiverDisplayTextId
|
||||
anchors.centerIn: parent
|
||||
font.pointSize: 20
|
||||
text: "0"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user