0
1
This code imports the QtQuick 2.0 module, creates an Item object and sets the width, height and color of a Rectangle object.
0 Comments
import QtQuick 2.0 Item { width:400;height:200 Rectangle { x:100;y:50 height:100 width:height*2 color:"lightblue" function foo() { console.log("") return height*2 } } }