component TwoRectangle = Rectangle { Rectangle { x: 50; y: 50.; width: 25; height: 25; color: red; my_area = TouchArea { width: 25; height: 25; } } } SuperSimple = Rectangle { color: white; TwoRectangle { width: 100; height: 100; color: blue; } Rectangle { x: 100; y: 100; width: (100); height: {100} color: green; Rectangle { x: 50; y: 50.; width: 25; height: 25; color: red; } } Image { x: 200; y: 200; source: img!"../graphicstest/logo.png"; } }